bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_south = south; Component my_west = west; // Note that we currently don't handle vertical layouts. Neither // does JDK 1.3. if (firstLine != null) my_north = firstLine; if (lastLine != null) my_south = lastLine; if (firstItem != null) { if (left_to_right) my_west = firstItem; else my_east = firstItem; } if (lastItem != null) { if (left_to_right) my_east = lastItem; else my_west = lastItem; } Dimension c = calcCompSize(center, PREF); Dimension n = calcCompSize(my_north, PREF); Dimension s = calcCompSize(my_south, PREF); Dimension e = calcCompSize(my_east, PREF); Dimension w = calcCompSize(my_west, PREF); Dimension t = target.getSize(); /* <-> hgap <-> hgap +----------------------------+ } |t | } i.top | +----------------------+ | --- y1 } | |n | | | +----------------------+ | } vgap | +---+ +----------+ +---+ | --- y2 } } | |w | |c | |e | | } hh | +---+ +----------+ +---+ | } vgap } | +----------------------+ | --- y3 } | |s | | | +----------------------+ | } | | } i.bottom +----------------------------+ } |x1 |x2 |x3 <----------------------> <--> ww <--> i.left i.right */ int x1 = i.left; int x2 = x1 + w.width + (w.width == 0 ? 0 : hgap); int x3; if (t.width <= i.right + e.width) x3 = x2 + w.width + (w.width == 0 ? 0 : hgap); else x3 = t.width - i.right - e.width; int ww = t.width - i.right - i.left; int y1 = i.top; int y2 = y1 + n.height + (n.height == 0 ? 0 : vgap); int midh = Math.max(e.height, Math.max(w.height, c.height)); int y3; if (t.height <= i.bottom + s.height) y3 = y2 + midh + vgap; else y3 = t.height - i.bottom - s.height; int hh = y3-y2-(s.height == 0 ? 0 : vgap); setBounds(center, x2, y2, x3-x2-(w.width == 0 ? 0 : hgap), hh); setBounds(my_north, x1, y1, ww, n.height); setBounds(my_south, x1, y3, ww, s.height); setBounds(my_west, x1, y2, w.width, hh); setBounds(my_east, x3, y2, e.width, hh); }}
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_south = south; Component my_west = west; // Note that we currently don't handle vertical layouts. Neither // does JDK 1.3. if (firstLine != null) my_north = firstLine; if (lastLine != null) my_south = lastLine; if (firstItem != null) { if (left_to_right) my_west = firstItem; else my_east = firstItem; } if (lastItem != null) { if (left_to_right) my_east = lastItem; else my_west = lastItem; } Dimension c = calcCompSize(center, PREF); Dimension n = calcCompSize(my_north, PREF); Dimension s = calcCompSize(my_south, PREF); Dimension e = calcCompSize(my_east, PREF); Dimension w = calcCompSize(my_west, PREF); Dimension t = target.getSize(); /* <-> hgap <-> hgap +----------------------------+ } |t | } i.top | +----------------------+ | --- y1 } | |n | | | +----------------------+ | } vgap | +---+ +----------+ +---+ | --- y2 } } | |w | |c | |e | | } hh | +---+ +----------+ +---+ | } vgap } | +----------------------+ | --- y3 } | |s | | | +----------------------+ | } | | } i.bottom +----------------------------+ } |x1 |x2 |x3 <----------------------> <--> ww <--> i.left i.right */ int x1 = i.left; int x2 = x1 + w.width + (w.width == 0 ? 0 : hgap); int x3; if (targetWidth <= i.right + e.width) x3 = x2 + w.width + (w.width == 0 ? 0 : hgap); else x3 = t.width - i.right - e.width; int ww = t.width - i.right - i.left; int y1 = i.top; int y2 = y1 + n.height + (n.height == 0 ? 0 : vgap); int midh = Math.max(e.height, Math.max(w.height, c.height)); int y3; if (t.height <= i.bottom + s.height) y3 = y2 + midh + vgap; else y3 = t.height - i.bottom - s.height; int hh = y3-y2-(s.height == 0 ? 0 : vgap); setBounds(center, x2, y2, x3-x2-(w.width == 0 ? 0 : hgap), hh); setBounds(my_north, x1, y1, ww, n.height); setBounds(my_south, x1, y3, ww, s.height); setBounds(my_west, x1, y2, w.width, hh); setBounds(my_east, x3, y2, e.width, hh); }}
8,184
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_south = south; Component my_west = west; // Note that we currently don't handle vertical layouts. Neither // does JDK 1.3. if (firstLine != null) my_north = firstLine; if (lastLine != null) my_south = lastLine; if (firstItem != null) { if (left_to_right) my_west = firstItem; else my_east = firstItem; } if (lastItem != null) { if (left_to_right) my_east = lastItem; else my_west = lastItem; } Dimension c = calcCompSize(center, PREF); Dimension n = calcCompSize(my_north, PREF); Dimension s = calcCompSize(my_south, PREF); Dimension e = calcCompSize(my_east, PREF); Dimension w = calcCompSize(my_west, PREF); Dimension t = target.getSize(); /* <-> hgap <-> hgap +----------------------------+ } |t | } i.top | +----------------------+ | --- y1 } | |n | | | +----------------------+ | } vgap | +---+ +----------+ +---+ | --- y2 } } | |w | |c | |e | | } hh | +---+ +----------+ +---+ | } vgap } | +----------------------+ | --- y3 } | |s | | | +----------------------+ | } | | } i.bottom +----------------------------+ } |x1 |x2 |x3 <----------------------> <--> ww <--> i.left i.right */ int x1 = i.left; int x2 = x1 + w.width + (w.width == 0 ? 0 : hgap); int x3; if (t.width <= i.right + e.width) x3 = x2 + w.width + (w.width == 0 ? 0 : hgap); else x3 = t.width - i.right - e.width; int ww = t.width - i.right - i.left; int y1 = i.top; int y2 = y1 + n.height + (n.height == 0 ? 0 : vgap); int midh = Math.max(e.height, Math.max(w.height, c.height)); int y3; if (t.height <= i.bottom + s.height) y3 = y2 + midh + vgap; else y3 = t.height - i.bottom - s.height; int hh = y3-y2-(s.height == 0 ? 0 : vgap); setBounds(center, x2, y2, x3-x2-(w.width == 0 ? 0 : hgap), hh); setBounds(my_north, x1, y1, ww, n.height); setBounds(my_south, x1, y3, ww, s.height); setBounds(my_west, x1, y2, w.width, hh); setBounds(my_east, x3, y2, e.width, hh); }}
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_south = south; Component my_west = west; // Note that we currently don't handle vertical layouts. Neither // does JDK 1.3. if (firstLine != null) my_north = firstLine; if (lastLine != null) my_south = lastLine; if (firstItem != null) { if (left_to_right) my_west = firstItem; else my_east = firstItem; } if (lastItem != null) { if (left_to_right) my_east = lastItem; else my_west = lastItem; } Dimension c = calcCompSize(center, PREF); Dimension n = calcCompSize(my_north, PREF); Dimension s = calcCompSize(my_south, PREF); Dimension e = calcCompSize(my_east, PREF); Dimension w = calcCompSize(my_west, PREF); Dimension t = target.getSize(); /* <-> hgap <-> hgap +----------------------------+ } |t | } i.top | +----------------------+ | --- y1 } | |n | | | +----------------------+ | } vgap | +---+ +----------+ +---+ | --- y2 } } | |w | |c | |e | | } hh | +---+ +----------+ +---+ | } vgap } | +----------------------+ | --- y3 } | |s | | | +----------------------+ | } | | } i.bottom +----------------------------+ } |x1 |x2 |x3 <----------------------> <--> ww <--> i.left i.right */ int x1 = i.left; int x2 = x1 + w.width + (w.width == 0 ? 0 : hgap); int x3; if (t.width <= i.right + e.width) x3 = x2 + w.width + (w.width == 0 ? 0 : hgap); else x3 = t.width - i.right - e.width; int ww = t.width - i.right - i.left; int y1 = i.top; int y2 = y1 + n.height + (n.height == 0 ? 0 : vgap); int midh = Math.max(e.height, Math.max(w.height, c.height)); int y3; if (t.height <= i.bottom + s.height) y3 = y2 + midh + vgap; else y3 = t.height - i.bottom - s.height; int hh = y3-y2-(s.height == 0 ? 0 : vgap); setBounds(center, x2, y2, x3-x2-(w.width == 0 ? 0 : hgap), hh); setBounds(my_north, x1, y1, ww, n.height); setBounds(my_south, x1, y3, ww, s.height); setBounds(my_west, x1, y2, w.width, hh); setBounds(my_east, x3, y2, e.width, hh); }}
8,185
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_south = south; Component my_west = west; // Note that we currently don't handle vertical layouts. Neither // does JDK 1.3. if (firstLine != null) my_north = firstLine; if (lastLine != null) my_south = lastLine; if (firstItem != null) { if (left_to_right) my_west = firstItem; else my_east = firstItem; } if (lastItem != null) { if (left_to_right) my_east = lastItem; else my_west = lastItem; } Dimension c = calcCompSize(center, PREF); Dimension n = calcCompSize(my_north, PREF); Dimension s = calcCompSize(my_south, PREF); Dimension e = calcCompSize(my_east, PREF); Dimension w = calcCompSize(my_west, PREF); Dimension t = target.getSize(); /* <-> hgap <-> hgap +----------------------------+ } |t | } i.top | +----------------------+ | --- y1 } | |n | | | +----------------------+ | } vgap | +---+ +----------+ +---+ | --- y2 } } | |w | |c | |e | | } hh | +---+ +----------+ +---+ | } vgap } | +----------------------+ | --- y3 } | |s | | | +----------------------+ | } | | } i.bottom +----------------------------+ } |x1 |x2 |x3 <----------------------> <--> ww <--> i.left i.right */ int x1 = i.left; int x2 = x1 + w.width + (w.width == 0 ? 0 : hgap); int x3; if (t.width <= i.right + e.width) x3 = x2 + w.width + (w.width == 0 ? 0 : hgap); else x3 = t.width - i.right - e.width; int ww = t.width - i.right - i.left; int y1 = i.top; int y2 = y1 + n.height + (n.height == 0 ? 0 : vgap); int midh = Math.max(e.height, Math.max(w.height, c.height)); int y3; if (t.height <= i.bottom + s.height) y3 = y2 + midh + vgap; else y3 = t.height - i.bottom - s.height; int hh = y3-y2-(s.height == 0 ? 0 : vgap); setBounds(center, x2, y2, x3-x2-(w.width == 0 ? 0 : hgap), hh); setBounds(my_north, x1, y1, ww, n.height); setBounds(my_south, x1, y3, ww, s.height); setBounds(my_west, x1, y2, w.width, hh); setBounds(my_east, x3, y2, e.width, hh); }}
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_south = south; Component my_west = west; // Note that we currently don't handle vertical layouts. Neither // does JDK 1.3. if (firstLine != null) my_north = firstLine; if (lastLine != null) my_south = lastLine; if (firstItem != null) { if (left_to_right) my_west = firstItem; else my_east = firstItem; } if (lastItem != null) { if (left_to_right) my_east = lastItem; else my_west = lastItem; } Dimension c = calcCompSize(center, PREF); Dimension n = calcCompSize(my_north, PREF); Dimension s = calcCompSize(my_south, PREF); Dimension e = calcCompSize(my_east, PREF); Dimension w = calcCompSize(my_west, PREF); Dimension t = target.getSize(); /* <-> hgap <-> hgap +----------------------------+ } |t | } i.top | +----------------------+ | --- y1 } | |n | | | +----------------------+ | } vgap | +---+ +----------+ +---+ | --- y2 } } | |w | |c | |e | | } hh | +---+ +----------+ +---+ | } vgap } | +----------------------+ | --- y3 } | |s | | | +----------------------+ | } | | } i.bottom +----------------------------+ } |x1 |x2 |x3 <----------------------> <--> ww <--> i.left i.right */ int x1 = i.left; int x2 = x1 + w.width + (w.width == 0 ? 0 : hgap); int x3; if (t.width <= i.right + e.width) x3 = x2 + w.width + (w.width == 0 ? 0 : hgap); else x3 = t.width - i.right - e.width; int ww = t.width - i.right - i.left; int y1 = i.top; int y2 = y1 + n.height + (n.height == 0 ? 0 : vgap); int midh = Math.max(e.height, Math.max(w.height, c.height)); int y3; if (targetHeight <= i.bottom + s.height) y3 = y2 + midh + vgap; else y3 = t.height - i.bottom - s.height; int hh = y3-y2-(s.height == 0 ? 0 : vgap); setBounds(center, x2, y2, x3-x2-(w.width == 0 ? 0 : hgap), hh); setBounds(my_north, x1, y1, ww, n.height); setBounds(my_south, x1, y3, ww, s.height); setBounds(my_west, x1, y2, w.width, hh); setBounds(my_east, x3, y2, e.width, hh); }}
8,186
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_south = south; Component my_west = west; // Note that we currently don't handle vertical layouts. Neither // does JDK 1.3. if (firstLine != null) my_north = firstLine; if (lastLine != null) my_south = lastLine; if (firstItem != null) { if (left_to_right) my_west = firstItem; else my_east = firstItem; } if (lastItem != null) { if (left_to_right) my_east = lastItem; else my_west = lastItem; } Dimension c = calcCompSize(center, PREF); Dimension n = calcCompSize(my_north, PREF); Dimension s = calcCompSize(my_south, PREF); Dimension e = calcCompSize(my_east, PREF); Dimension w = calcCompSize(my_west, PREF); Dimension t = target.getSize(); /* <-> hgap <-> hgap +----------------------------+ } |t | } i.top | +----------------------+ | --- y1 } | |n | | | +----------------------+ | } vgap | +---+ +----------+ +---+ | --- y2 } } | |w | |c | |e | | } hh | +---+ +----------+ +---+ | } vgap } | +----------------------+ | --- y3 } | |s | | | +----------------------+ | } | | } i.bottom +----------------------------+ } |x1 |x2 |x3 <----------------------> <--> ww <--> i.left i.right */ int x1 = i.left; int x2 = x1 + w.width + (w.width == 0 ? 0 : hgap); int x3; if (t.width <= i.right + e.width) x3 = x2 + w.width + (w.width == 0 ? 0 : hgap); else x3 = t.width - i.right - e.width; int ww = t.width - i.right - i.left; int y1 = i.top; int y2 = y1 + n.height + (n.height == 0 ? 0 : vgap); int midh = Math.max(e.height, Math.max(w.height, c.height)); int y3; if (t.height <= i.bottom + s.height) y3 = y2 + midh + vgap; else y3 = t.height - i.bottom - s.height; int hh = y3-y2-(s.height == 0 ? 0 : vgap); setBounds(center, x2, y2, x3-x2-(w.width == 0 ? 0 : hgap), hh); setBounds(my_north, x1, y1, ww, n.height); setBounds(my_south, x1, y3, ww, s.height); setBounds(my_west, x1, y2, w.width, hh); setBounds(my_east, x3, y2, e.width, hh); }}
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_south = south; Component my_west = west; // Note that we currently don't handle vertical layouts. Neither // does JDK 1.3. if (firstLine != null) my_north = firstLine; if (lastLine != null) my_south = lastLine; if (firstItem != null) { if (left_to_right) my_west = firstItem; else my_east = firstItem; } if (lastItem != null) { if (left_to_right) my_east = lastItem; else my_west = lastItem; } Dimension c = calcCompSize(center, PREF); Dimension n = calcCompSize(my_north, PREF); Dimension s = calcCompSize(my_south, PREF); Dimension e = calcCompSize(my_east, PREF); Dimension w = calcCompSize(my_west, PREF); Dimension t = target.getSize(); /* <-> hgap <-> hgap +----------------------------+ } |t | } i.top | +----------------------+ | --- y1 } | |n | | | +----------------------+ | } vgap | +---+ +----------+ +---+ | --- y2 } } | |w | |c | |e | | } hh | +---+ +----------+ +---+ | } vgap } | +----------------------+ | --- y3 } | |s | | | +----------------------+ | } | | } i.bottom +----------------------------+ } |x1 |x2 |x3 <----------------------> <--> ww <--> i.left i.right */ int x1 = i.left; int x2 = x1 + w.width + (w.width == 0 ? 0 : hgap); int x3; if (t.width <= i.right + e.width) x3 = x2 + w.width + (w.width == 0 ? 0 : hgap); else x3 = t.width - i.right - e.width; int ww = t.width - i.right - i.left; int y1 = i.top; int y2 = y1 + n.height + (n.height == 0 ? 0 : vgap); int midh = Math.max(e.height, Math.max(w.height, c.height)); int y3; if (t.height <= i.bottom + s.height) y3 = y2 + midh + vgap; else y3 = targetHeight - i.bottom - s.height; int hh = y3-y2-(s.height == 0 ? 0 : vgap); setBounds(center, x2, y2, x3-x2-(w.width == 0 ? 0 : hgap), hh); setBounds(my_north, x1, y1, ww, n.height); setBounds(my_south, x1, y3, ww, s.height); setBounds(my_west, x1, y2, w.width, hh); setBounds(my_east, x3, y2, e.width, hh); }}
8,187
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_south = south; Component my_west = west; // Note that we currently don't handle vertical layouts. Neither // does JDK 1.3. if (firstLine != null) my_north = firstLine; if (lastLine != null) my_south = lastLine; if (firstItem != null) { if (left_to_right) my_west = firstItem; else my_east = firstItem; } if (lastItem != null) { if (left_to_right) my_east = lastItem; else my_west = lastItem; } Dimension c = calcCompSize(center, PREF); Dimension n = calcCompSize(my_north, PREF); Dimension s = calcCompSize(my_south, PREF); Dimension e = calcCompSize(my_east, PREF); Dimension w = calcCompSize(my_west, PREF); Dimension t = target.getSize(); /* <-> hgap <-> hgap +----------------------------+ } |t | } i.top | +----------------------+ | --- y1 } | |n | | | +----------------------+ | } vgap | +---+ +----------+ +---+ | --- y2 } } | |w | |c | |e | | } hh | +---+ +----------+ +---+ | } vgap } | +----------------------+ | --- y3 } | |s | | | +----------------------+ | } | | } i.bottom +----------------------------+ } |x1 |x2 |x3 <----------------------> <--> ww <--> i.left i.right */ int x1 = i.left; int x2 = x1 + w.width + (w.width == 0 ? 0 : hgap); int x3; if (t.width <= i.right + e.width) x3 = x2 + w.width + (w.width == 0 ? 0 : hgap); else x3 = t.width - i.right - e.width; int ww = t.width - i.right - i.left; int y1 = i.top; int y2 = y1 + n.height + (n.height == 0 ? 0 : vgap); int midh = Math.max(e.height, Math.max(w.height, c.height)); int y3; if (t.height <= i.bottom + s.height) y3 = y2 + midh + vgap; else y3 = t.height - i.bottom - s.height; int hh = y3-y2-(s.height == 0 ? 0 : vgap); setBounds(center, x2, y2, x3-x2-(w.width == 0 ? 0 : hgap), hh); setBounds(my_north, x1, y1, ww, n.height); setBounds(my_south, x1, y3, ww, s.height); setBounds(my_west, x1, y2, w.width, hh); setBounds(my_east, x3, y2, e.width, hh); }}
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_south = south; Component my_west = west; // Note that we currently don't handle vertical layouts. Neither // does JDK 1.3. if (firstLine != null) my_north = firstLine; if (lastLine != null) my_south = lastLine; if (firstItem != null) { if (left_to_right) my_west = firstItem; else my_east = firstItem; } if (lastItem != null) { if (left_to_right) my_east = lastItem; else my_west = lastItem; } Dimension c = calcCompSize(center, PREF); Dimension n = calcCompSize(my_north, PREF); Dimension s = calcCompSize(my_south, PREF); Dimension e = calcCompSize(my_east, PREF); Dimension w = calcCompSize(my_west, PREF); Dimension t = target.getSize(); /* <-> hgap <-> hgap +----------------------------+ } |t | } i.top | +----------------------+ | --- y1 } | |n | | | +----------------------+ | } vgap | +---+ +----------+ +---+ | --- y2 } } | |w | |c | |e | | } hh | +---+ +----------+ +---+ | } vgap } | +----------------------+ | --- y3 } | |s | | | +----------------------+ | } | | } i.bottom +----------------------------+ } |x1 |x2 |x3 <----------------------> <--> ww <--> i.left i.right */ int x1 = i.left; int x2 = x1 + w.width + (w.width == 0 ? 0 : hgap); int x3; if (t.width <= i.right + e.width) x3 = x2 + w.width + (w.width == 0 ? 0 : hgap); else x3 = t.width - i.right - e.width; int ww = t.width - i.right - i.left; int y1 = i.top; int y2 = y1 + n.height + (n.height == 0 ? 0 : vgap); int midh = Math.max(e.height, Math.max(w.height, c.height)); int y3; if (t.height <= i.bottom + s.height) y3 = y2 + midh + vgap; else y3 = t.height - i.bottom - s.height; int hh = y3-y2-(s.height == 0 ? 0 : vgap); setBounds(center, x2, y2, x3-x2-(w.width == 0 ? 0 : hgap), hh); setBounds(my_north, x1, y1, ww, n.height); setBounds(my_south, x1, y3, ww, s.height); setBounds(my_west, x1, y2, w.width, hh); setBounds(my_east, x3, y2, e.width, hh); }}
8,188
maximumLayoutSize(Container target){ return calcSize(target, MAX);}
maximumLayoutSize(Container target){ return calcSize(target, MAX);}
8,189
maximumLayoutSize(Container target){ return calcSize(target, MAX);}
maximumLayoutSize(Container target){ return calcSize(target, MAX);}
8,190
minimumLayoutSize(Container target){ return calcSize(target, MIN);}
minimumLayoutSize(Container target){ return calcSize(target, MIN);}
8,191
minimumLayoutSize(Container target){ return calcSize(target, MIN);}
minimumLayoutSize(Container target){ return calcSize(target, MIN);}
8,192
preferredLayoutSize(Container target){ return calcSize(target, PREF);}
preferredLayoutSize(Container target){ return calcSize(target, PREF);}
8,193
preferredLayoutSize(Container target){ return calcSize(target, PREF);}
preferredLayoutSize(Container target){ return calcSize(target, PREF);}
8,194
removeLayoutComponent(Component component){ if (north == component) north = null; if (south == component) south = null; if (east == component) east = null; if (west == component) west = null; if (center == component) center = null; if (firstItem == component) firstItem = null; if (lastItem == component) lastItem = null; if (firstLine == component) firstLine = null; if (lastLine == component) lastLine = null;}
removeLayoutComponent(Component component){ if (north == component) north = null; if (south == component) south = null; if (east == component) east = null; if (west == component) west = null; if (center == component) center = null; if (firstItem == component) firstItem = null; if (lastItem == component) lastItem = null; if (firstLine == component) firstLine = null; if (lastLine == component) lastLine = null;}
8,195
removeLayoutComponent(Component component){ if (north == component) north = null; if (south == component) south = null; if (east == component) east = null; if (west == component) west = null; if (center == component) center = null; if (firstItem == component) firstItem = null; if (lastItem == component) lastItem = null; if (firstLine == component) firstLine = null; if (lastLine == component) lastLine = null;}
removeLayoutComponent(Component component){ if (north == component) north = null; if (south == component) south = null; if (east == component) east = null; if (west == component) west = null; if (center == component) center = null; if (firstItem == component) firstItem = null; if (lastItem == component) lastItem = null; if (firstLine == component) firstLine = null; if (lastLine == component) lastLine = null;}
8,196
setBounds(Component comp, int x, int y, int w, int h){ if (comp == null) return; comp.setBounds(x, y, w, h);}
setBounds(Component comp, int x, int y, int w, int h){ if (comp == null) return; comp.setBounds(x, y, w, h);}
8,197
setBounds(Component comp, int x, int y, int w, int h){ if (comp == null) return; comp.setBounds(x, y, w, h);}
setBounds(Component comp, int x, int y, int w, int h){ if (comp == null) return; comp.setBounds(x, y, w, h);}
8,198
setHgap(int hgap){ this.hgap = hgap;}
setHgap(int hgap){ this.hgap = hgap;}
8,199
setHgap(int hgap){ this.hgap = hgap;}
setHgap(int hgap){ this.hgap = hgap;}
8,200
setVgap(int vgap){ this.vgap = vgap;}
setVgap(int vgap){ this.vgap = vgap;}
8,201
setVgap(int vgap){ this.vgap = vgap;}
setVgap(int vgap){ this.vgap = vgap;}
8,202
toString(){ return getClass().getName() + "[hgap=" + hgap + ",vgap=" + vgap + "]";}
toString(){ return getClass().getName() + "[hgap=" + hgap + ",vgap=" + vgap + "]";}
8,203
toString(){ return getClass().getName() + "[hgap=" + hgap + ",vgap=" + vgap + "]";}
toString(){ return getClass().getName() + "[hgap=" + hgap + ",vgap=" + vgap + "]";}
8,204
public AddressPcEntry(int pc, int offset) { this.pc = pc; this.offset = offset; }
public AddressPcEntry(int pc, int offset) { this.pc = pc; this.offset = offset; }
8,205
public int findPC(int offset) { final int[] table = this.table; if (table != null) { final int length = table.length; int lastPC = 0; for (int i = 0; i < length; i += 2) { final int o = table[i+1]; if (o > offset) { return lastPC; } else { lastPC = table[i+0]; } } } return 0; }
public int findPC(int offset) { final int[] table = this.table; if (table != null) { final int length = table.length; int lastPC = 0; for (int i = 0; i < length; i += 2) { final int o = table[i+1]; if (o > offset) { return lastPC; } else { lastPC = table[i+0]; } } } return 0; }
8,206
public void writeTo(PrintStream out) { for (int i = 0; i < table.length; i += 2) { final int pc = table[i+0]; final int offset = table[i+1]; out.println("PC[" + pc + "]\t0x" + NumberUtils.hex(offset)); } }
public void writeTo(PrintStream out) { for (int i = 0; i < table.length; i += 2) { final int pc = table[i+0]; final int offset = table[i+1]; out.println("PC[" + pc + "]\t0x" + NumberUtils.hex(offset)); } }
8,207
protected void installKeyboardActions() { // FIXME: create actions and keystrokes. registerKeyboardAction(); }
protected void installKeyboardActions() { // FIXME: create actions and keystrokes. registerKeyboardActions(); }
8,208
public void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; screen[lastPos].setCharAndAttr(initChar,lastAttr,true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format table for an entry that begins at the current // starting address plus 1. if (screenFields.existsAtPos(lastPos)) { screenFields.setCurrentFieldFFWs(ffw1,ffw2); } else { sf = screenFields.setField(attr,getRow(lastPos),getCol(lastPos),len,ffw1,ffw2,fcw1,fcw2); lastPos = sf.startPos(); int x = len; boolean gui = guiInterface; if (sf.isBypassField()) gui = false; while (x-- > 0) { if (screen[lastPos].getChar() == 0) screen[lastPos].setCharAndAttr(' ',lastAttr,false); else screen[lastPos].setAttribute(lastAttr); if (gui) screen[lastPos].setUseGUI(ScreenChar.FIELD_MIDDLE); advancePos(); } if (gui) if (len > 1) { screen[sf.startPos()].setUseGUI(ScreenChar.FIELD_LEFT); if (lastPos > 0) screen[lastPos-1].setUseGUI(ScreenChar.FIELD_RIGHT); else screen[lastPos].setUseGUI(ScreenChar.FIELD_RIGHT); } else screen[lastPos-1].setUseGUI(ScreenChar.FIELD_ONE); setEndingAttr(initAttr); lastPos = sf.startPos(); }// if (fcw1 != 0 || fcw2 != 0) {//// System.out.println("lr = " + lastRow + " lc = " + lastCol + " " + sf.toString());// } sf = null; }
public void addField(int attr, int len, int ffw1, int ffw2, int fcw1, int fcw2) { lastAttr = attr; screen[lastPos].setCharAndAttr(initChar,lastAttr,true); setDirty(lastPos); advancePos(); ScreenField sf = null; // from 14.6.12 for Start of Field Order 5940 function manual // examine the format table for an entry that begins at the current // starting address plus 1. if (screenFields.existsAtPos(lastPos)) { screenFields.setCurrentFieldFFWs(ffw1,ffw2); } else { sf = screenFields.setField(attr,getRow(lastPos),getCol(lastPos),len,ffw1,ffw2,fcw1,fcw2); lastPos = sf.startPos(); int x = len; boolean gui = guiInterface; if (sf.isBypassField()) gui = false; while (x-- > 0) { if (screen[lastPos].getChar() == 0) screen[lastPos].setCharAndAttr(' ',lastAttr,false); else screen[lastPos].setAttribute(lastAttr); if (gui) screen[lastPos].setUseGUI(ScreenChar.FIELD_MIDDLE); advancePos(); } if (gui) if (len > 1) { screen[sf.startPos()].setUseGUI(ScreenChar.FIELD_LEFT); if (lastPos > 0) screen[lastPos-1].setUseGUI(ScreenChar.FIELD_RIGHT); else screen[lastPos].setUseGUI(ScreenChar.FIELD_RIGHT); } else screen[lastPos-1].setUseGUI(ScreenChar.FIELD_ONE); setEndingAttr(initAttr); lastPos = sf.startPos(); }// if (fcw1 != 0 || fcw2 != 0) {//// System.out.println("lr = " + lastRow + " lc = " + lastCol + " " + sf.toString());// } sf = null; }
8,209
protected boolean simulateKeyStroke(char c){ if (isStatusErrorCode() && !Character.isISOControl(c) && !keyProcessed) { restoreErrorLine(); setStatus(STATUS_ERROR_CODE,STATUS_VALUE_OFF,null); } boolean updateField = false; boolean numericError = false; boolean updatePos = false; boolean autoEnter = false; if (!Character.isISOControl(c)) { if (screenFields.getCurrentField() != null && screenFields.withinCurrentField(lastPos) && !screenFields.isCurrentFieldBypassField()) { switch (screenFields.getCurrentFieldShift()) { case 0: // Alpha shift case 2: // Numeric Shift updateField = true; break; case 1: // Alpha Only if(Character.isLetter(c) || c == ',' || c == '-' || c == '.' || c == ' ') updateField = true; break; case 3: // Numeric only if(Character.isDigit(c) || c == '+' || c == ',' || c == '-' || c == '.' || c == ' ') updateField = true; else numericError = true; break; case 5: // Digits only if(Character.isDigit(c)) updateField = true; else displayError(ERR_NUMERIC_09); break; case 7: // Signed numeric if(Character.isDigit(c) || c == '+' || c == '-') if (lastPos == screenFields.getCurrentField().endPos() && (c != '+' && c != '-')) displayError(ERR_INVALID_SIGN); else updateField = true; else displayError(ERR_NUMERIC_09); break; } if (updateField) { if (screenFields.isCurrentFieldToUpper()) c = Character.toUpperCase(c); setCursorOff(); updatePos = true; resetDirty(lastPos); if (insertMode) { if (endOfField(false) != screenFields.getCurrentField().endPos()) shiftRight(lastPos); else { displayError(ERR_NO_ROOM_INSERT); updatePos = false; } } if (updatePos) { screenFields.getCurrentField().getKeyPos(getRow(lastPos),getCol(lastPos)); screenFields.getCurrentField().changePos(1); screen[lastPos].setChar(c); screenFields.setCurrentFieldMDT(); // if we have gone passed the end of the field then goto the next field if (!screenFields.withinCurrentField(screenFields.getCurrentFieldPos())) { if (screenFields.isCurrentFieldAutoEnter()) { autoEnter = true; } else if (!screenFields.isCurrentFieldFER()) gotoFieldNext(); } else goto_XY(screenFields.getCurrentField().getCursorRow() + 1,screenFields.getCurrentField().getCursorCol() + 1); } updateImage(dirty); setCursorOn(); if (autoEnter) sendAid(AID_ENTER); } else { if (numericError) { displayError(ERR_NUMERIC_ONLY); } } } else { displayError(ERR_CURSOR_PROTECTED); } } return updatePos; }
int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); protectedint fs = screenFields.getCurrentFieldShift(); booleanint fs = screenFields.getCurrentFieldShift(); simulateKeyStroke(charint fs = screenFields.getCurrentFieldShift(); c){int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (isStatusErrorCode()int fs = screenFields.getCurrentFieldShift(); &&int fs = screenFields.getCurrentFieldShift(); !Character.isISOControl(c)int fs = screenFields.getCurrentFieldShift(); &&int fs = screenFields.getCurrentFieldShift(); !keyProcessed)int fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); restoreErrorLine();int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); setStatus(STATUS_ERROR_CODE,STATUS_VALUE_OFF,null);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); booleanint fs = screenFields.getCurrentFieldShift(); updateFieldint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); false;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); booleanint fs = screenFields.getCurrentFieldShift(); numericErrorint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); false;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); booleanint fs = screenFields.getCurrentFieldShift(); updatePosint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); false;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); booleanint fs = screenFields.getCurrentFieldShift(); autoEnterint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); false;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (!Character.isISOControl(c))int fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (screenFields.getCurrentField()int fs = screenFields.getCurrentFieldShift(); !=int fs = screenFields.getCurrentFieldShift(); nullint fs = screenFields.getCurrentFieldShift(); &&int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); screenFields.withinCurrentField(lastPos)int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); &&int fs = screenFields.getCurrentFieldShift(); !screenFields.isCurrentFieldBypassField())int fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); switchint fs = screenFields.getCurrentFieldShift(); (screenFields.getCurrentFieldShift())int fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); caseint fs = screenFields.getCurrentFieldShift(); 0:int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); //int fs = screenFields.getCurrentFieldShift(); Alphaint fs = screenFields.getCurrentFieldShift(); shiftint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); caseint fs = screenFields.getCurrentFieldShift(); 2:int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); //int fs = screenFields.getCurrentFieldShift(); Numericint fs = screenFields.getCurrentFieldShift(); Shiftint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); updateFieldint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); true;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); break;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); caseint fs = screenFields.getCurrentFieldShift(); 1:int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); //int fs = screenFields.getCurrentFieldShift(); Alphaint fs = screenFields.getCurrentFieldShift(); Onlyint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); if(Character.isLetter(c)int fs = screenFields.getCurrentFieldShift(); ||int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); ','int fs = screenFields.getCurrentFieldShift(); ||int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); '-'int fs = screenFields.getCurrentFieldShift(); ||int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); '.'int fs = screenFields.getCurrentFieldShift(); ||int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); 'int fs = screenFields.getCurrentFieldShift(); ')int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); updateFieldint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); true;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); break;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); caseint fs = screenFields.getCurrentFieldShift(); 3:int fs = screenFields.getCurrentFieldShift(); //int fs = screenFields.getCurrentFieldShift(); Numericint fs = screenFields.getCurrentFieldShift(); onlyint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); if(Character.isDigit(c)int fs = screenFields.getCurrentFieldShift(); ||int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); '+'int fs = screenFields.getCurrentFieldShift(); ||int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); ','int fs = screenFields.getCurrentFieldShift(); ||int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); '-'int fs = screenFields.getCurrentFieldShift(); ||int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); '.'int fs = screenFields.getCurrentFieldShift(); ||int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); 'int fs = screenFields.getCurrentFieldShift(); ')int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); updateFieldint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); true;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); elseint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); numericErrorint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); true;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); break;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); caseint fs = screenFields.getCurrentFieldShift(); 5:int fs = screenFields.getCurrentFieldShift(); //int fs = screenFields.getCurrentFieldShift(); Digitsint fs = screenFields.getCurrentFieldShift(); onlyint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); if(Character.isDigit(c))int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); updateFieldint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); true;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); elseint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); displayError(ERR_NUMERIC_09);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); break;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); caseint fs = screenFields.getCurrentFieldShift(); 7:int fs = screenFields.getCurrentFieldShift(); //int fs = screenFields.getCurrentFieldShift(); Signedint fs = screenFields.getCurrentFieldShift(); numericint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); if(Character.isDigit(c)int fs = screenFields.getCurrentFieldShift(); ||int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); '+'int fs = screenFields.getCurrentFieldShift(); ||int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); '-')int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (lastPosint fs = screenFields.getCurrentFieldShift(); ==int fs = screenFields.getCurrentFieldShift(); screenFields.getCurrentField().endPos()int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); &&int fs = screenFields.getCurrentFieldShift(); (cint fs = screenFields.getCurrentFieldShift(); !=int fs = screenFields.getCurrentFieldShift(); '+'int fs = screenFields.getCurrentFieldShift(); &&int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); !=int fs = screenFields.getCurrentFieldShift(); '-'))int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); displayError(ERR_INVALID_SIGN);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); elseint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); updateFieldint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); true;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); elseint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); displayError(ERR_NUMERIC_09);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); break;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (updateField)int fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (screenFields.isCurrentFieldToUpper())int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); cint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); Character.toUpperCase(c);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); setCursorOff();int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); updatePosint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); true;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); resetDirty(lastPos);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (insertMode)int fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (endOfField(false)int fs = screenFields.getCurrentFieldShift(); !=int fs = screenFields.getCurrentFieldShift(); screenFields.getCurrentField().endPos())int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); shiftRight(lastPos);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); elseint fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); displayError(ERR_NO_ROOM_INSERT);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); updatePosint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); false;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (updatePos)int fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); screenFields.getCurrentField().getKeyPos(getRow(lastPos),getCol(lastPos));int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); screenFields.getCurrentField().changePos(1);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); screen[lastPos].setChar(c);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); screenFields.setCurrentFieldMDT();int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); //int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); weint fs = screenFields.getCurrentFieldShift(); haveint fs = screenFields.getCurrentFieldShift(); goneint fs = screenFields.getCurrentFieldShift(); passedint fs = screenFields.getCurrentFieldShift(); theint fs = screenFields.getCurrentFieldShift(); endint fs = screenFields.getCurrentFieldShift(); ofint fs = screenFields.getCurrentFieldShift(); theint fs = screenFields.getCurrentFieldShift(); fieldint fs = screenFields.getCurrentFieldShift(); thenint fs = screenFields.getCurrentFieldShift(); gotoint fs = screenFields.getCurrentFieldShift(); theint fs = screenFields.getCurrentFieldShift(); nextint fs = screenFields.getCurrentFieldShift(); fieldint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (!screenFields.withinCurrentField(screenFields.getCurrentFieldPos()))int fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (screenFields.isCurrentFieldAutoEnter())int fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); autoEnterint fs = screenFields.getCurrentFieldShift(); =int fs = screenFields.getCurrentFieldShift(); true;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); elseint fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (!screenFields.isCurrentFieldFER())int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); gotoFieldNext();int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); elseint fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); goto_XY(screenFields.getCurrentField().getCursorRow()int fs = screenFields.getCurrentFieldShift(); +int fs = screenFields.getCurrentFieldShift(); 1,screenFields.getCurrentField().getCursorCol()int fs = screenFields.getCurrentFieldShift(); +int fs = screenFields.getCurrentFieldShift(); 1);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); updateImage(dirty);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); setCursorOn();int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (autoEnter)int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); sendAid(AID_ENTER);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); elseint fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); ifint fs = screenFields.getCurrentFieldShift(); (numericError)int fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); displayError(ERR_NUMERIC_ONLY);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); elseint fs = screenFields.getCurrentFieldShift(); {int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); displayError(ERR_CURSOR_PROTECTED);int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); returnint fs = screenFields.getCurrentFieldShift(); updatePos;int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); int fs = screenFields.getCurrentFieldShift(); }
8,210
public boolean equals(Object obj) { if ((obj instanceof MediaName && this instanceof MediaName) || (obj instanceof MediaTray && this instanceof MediaTray) || (obj instanceof MediaSizeName && this instanceof MediaSizeName)) { return ((Media) obj).getValue() == this.getValue(); } return false; }
public boolean equals(Object obj) { if ((obj instanceof MediaName && this instanceof MediaName) || (obj instanceof MediaTray && this instanceof MediaTray) || (obj instanceof MediaSizeName && this instanceof MediaSizeName)) { return ((Media) obj).getValue() == this.getValue(); } return false; }
8,213
public boolean equals(Object obj) { if ((obj instanceof MediaName && this instanceof MediaName) || (obj instanceof MediaTray && this instanceof MediaTray) || (obj instanceof MediaSizeName && this instanceof MediaSizeName)) { return ((Media) obj).getValue() == this.getValue(); } return false; }
public boolean equals(Object obj) { if ((obj instanceof MediaName && this instanceof MediaName) || (obj instanceof MediaTray && this instanceof MediaTray) || (obj instanceof MediaSizeName && this instanceof MediaSizeName)) { return ((Media) obj).getValue() == this.getValue(); } return (obj.getClass() == this.getClass() && ((Media) obj).getValue() == this.getValue()); }
8,214
private final void secureSetAccessible(boolean flag) { if (flag && ((this instanceof Constructor && ((Constructor)this).getDeclaringClass() == Class.class) || ((Member)this).getDeclaringClass() == AccessibleObject.class)) throw new SecurityException( "Cannot make object accessible: " + this); this.flag = flag; }
private final void secureSetAccessible(boolean flag) { if (flag && ((this instanceof Constructor && ((Constructor)this).getDeclaringClass() == Class.class) || ((Member)this).getDeclaringClass() == AccessibleObject.class)) throw new SecurityException( "Cannot make object accessible: " + this); this.flag = flag; }
8,215
public SwingFramePeer(SwingToolkit toolkit, JDesktopPane desktopPane, Frame frame) { super(); this.toolkit = toolkit; desktopPane.add(this); SwingToolkit.copyAwtProperties(frame, this); getContentPane().setLayout(null); setLocation(frame.getLocation()); setSize(frame.getSize()); setResizable(frame.isResizable()); setIconifiable(true); setMaximizable(true); setClosable(true); try { setIcon(frame.getState() == Frame.ICONIFIED); } catch (PropertyVetoException x) { } setState(frame.getState()); setTitle(frame.getTitle()); setIconImage(frame.getIconImage()); setMenuBar(frame.getMenuBar()); }
public SwingFramePeer(SwingToolkit toolkit, JDesktopPane desktopPane, Frame frame) { super(); this.toolkit = toolkit; desktopPane.add(this); SwingToolkit.copyAwtProperties(frame, this); getContentPane().setLayout(null); setLocation(frame.getLocation()); setSize(frame.getSize()); setResizable(frame.isResizable()); setIconifiable(true); setMaximizable(true); setClosable(true); try { setIcon(frame.getState() == Frame.ICONIFIED); } catch (PropertyVetoException x) { } setState(frame.getState()); setTitle(frame.getTitle()); setIconImage(frame.getIconImage()); setMenuBar(frame.getMenuBar()); }
8,216
public SwingFramePeer(SwingToolkit toolkit, JDesktopPane desktopPane, Frame frame) { super(); this.toolkit = toolkit; desktopPane.add(this); SwingToolkit.copyAwtProperties(frame, this); getContentPane().setLayout(null); setLocation(frame.getLocation()); setSize(frame.getSize()); setResizable(frame.isResizable()); setIconifiable(true); setMaximizable(true); setClosable(true); try { setIcon(frame.getState() == Frame.ICONIFIED); } catch (PropertyVetoException x) { } setState(frame.getState()); setTitle(frame.getTitle()); setIconImage(frame.getIconImage()); setMenuBar(frame.getMenuBar()); }
public SwingFramePeer(SwingToolkit toolkit, JDesktopPane desktopPane, Frame frame) { super(); this.toolkit = toolkit; desktopPane.add(this); SwingToolkit.copyAwtProperties(frame, this); getContentPane().setLayout(null); setLocation(frame.getLocation()); setSize(frame.getSize()); setResizable(frame.isResizable()); setIconifiable(true); setMaximizable(true); setClosable(true); try { setIcon(frame.getState() == Frame.ICONIFIED); } catch (PropertyVetoException x) { } setState(frame.getState()); setTitle(frame.getTitle()); setIconImage(frame.getIconImage()); setMenuBar(frame.getMenuBar()); }
8,217
public SwingFramePeer(SwingToolkit toolkit, JDesktopPane desktopPane, Frame frame) { super(); this.toolkit = toolkit; desktopPane.add(this); SwingToolkit.copyAwtProperties(frame, this); getContentPane().setLayout(null); setLocation(frame.getLocation()); setSize(frame.getSize()); setResizable(frame.isResizable()); setIconifiable(true); setMaximizable(true); setClosable(true); try { setIcon(frame.getState() == Frame.ICONIFIED); } catch (PropertyVetoException x) { } setState(frame.getState()); setTitle(frame.getTitle()); setIconImage(frame.getIconImage()); setMenuBar(frame.getMenuBar()); }
public SwingFramePeer(SwingToolkit toolkit, JDesktopPane desktopPane, Frame frame) { super(); this.toolkit = toolkit; desktopPane.add(this); SwingToolkit.copyAwtProperties(frame, this); getContentPane().setLayout(null); setLocation(frame.getLocation()); setSize(frame.getSize()); setResizable(frame.isResizable()); setIconifiable(true); setMaximizable(true); setClosable(true); try { setIcon(frame.getState() == Frame.ICONIFIED); } catch (PropertyVetoException x) { } setState(frame.getState()); setTitle(frame.getTitle()); setIconImage(frame.getIconImage()); setMenuBar(frame.getMenuBar()); }
8,218
public SwingFramePeer(SwingToolkit toolkit, JDesktopPane desktopPane, Frame frame) { super(); this.toolkit = toolkit; desktopPane.add(this); SwingToolkit.copyAwtProperties(frame, this); getContentPane().setLayout(null); setLocation(frame.getLocation()); setSize(frame.getSize()); setResizable(frame.isResizable()); setIconifiable(true); setMaximizable(true); setClosable(true); try { setIcon(frame.getState() == Frame.ICONIFIED); } catch (PropertyVetoException x) { } setState(frame.getState()); setTitle(frame.getTitle()); setIconImage(frame.getIconImage()); setMenuBar(frame.getMenuBar()); }
public SwingFramePeer(SwingToolkit toolkit, JDesktopPane desktopPane, Frame frame) { super(); this.toolkit = toolkit; desktopPane.add(this); SwingToolkit.copyAwtProperties(frame, this); getContentPane().setLayout(null); setLocation(frame.getLocation()); setSize(frame.getSize()); setResizable(frame.isResizable()); setIconifiable(true); setMaximizable(true); setClosable(true); try { setIcon(frame.getState() == Frame.ICONIFIED); } catch (PropertyVetoException x) { } setState(frame.getState()); setTitle(frame.getTitle()); setIconImage(frame.getIconImage()); setMenuBar(frame.getMenuBar()); }
8,219
public SwingFramePeer(SwingToolkit toolkit, JDesktopPane desktopPane, Frame frame) { super(); this.toolkit = toolkit; desktopPane.add(this); SwingToolkit.copyAwtProperties(frame, this); getContentPane().setLayout(null); setLocation(frame.getLocation()); setSize(frame.getSize()); setResizable(frame.isResizable()); setIconifiable(true); setMaximizable(true); setClosable(true); try { setIcon(frame.getState() == Frame.ICONIFIED); } catch (PropertyVetoException x) { } setState(frame.getState()); setTitle(frame.getTitle()); setIconImage(frame.getIconImage()); setMenuBar(frame.getMenuBar()); }
public SwingFramePeer(SwingToolkit toolkit, JDesktopPane desktopPane, Frame frame) { super(); this.toolkit = toolkit; desktopPane.add(this); SwingToolkit.copyAwtProperties(frame, this); getContentPane().setLayout(null); setLocation(frame.getLocation()); setSize(frame.getSize()); setResizable(frame.isResizable()); setIconifiable(true); setMaximizable(true); setClosable(true); try { setIcon(frame.getState() == Frame.ICONIFIED); } catch (PropertyVetoException x) { } setState(frame.getState()); setTitle(frame.getTitle()); setIconImage(frame.getIconImage()); setMenuBar(frame.getMenuBar()); }
8,220
public void addAWTComponent(Component awtComponent, JComponent peer) { getContentPane().add(peer); }
public void addAWTComponent(Component awtComponent, JComponent peer) { getContentPane().add(peer); }
8,221
public void coalescePaintEvent(PaintEvent e) { System.err.println(e); }
public void coalescePaintEvent(PaintEvent e) { System.err.println(e); }
8,222
public void createBuffers(int x, BufferCapabilities bufferCapabilities) { }
public void createBuffers(int x, BufferCapabilities bufferCapabilities) { }
8,223
public void flip(BufferCapabilities.FlipContents flipContents) { }
public void flip(BufferCapabilities.FlipContents flipContents) { }
8,224
public void handleEvent(AWTEvent e) { //System.err.println(e); }
publicvoidhandleEvent(AWTEvente){ //System.err.println(e); }
8,225
public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time) { return true; }
public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time) { return true; }
8,226
public void setEventMask(long mask) { // TODO Auto-generated method stub }
public void setEventMask(long mask) { // TODO Auto-generated method stub }
8,227
public void setIconImage(Image im) { }
public void setIconImage(Image im) { }
8,228
public void setMaximizedBounds(java.awt.Rectangle bounds) { }
public void setMaximizedBounds(java.awt.Rectangle bounds) { }
8,229
public void setState(int state) { if (state == Frame.ICONIFIED) { } else // state == Frame.NORMAL { } }
public void setState(int state) { if (state == Frame.ICONIFIED) { } else // state == Frame.NORMAL { } }
8,231
public Log () { configure(DEFAULT_CONFIG_FILE); }
public Log () { }
8,232
public void configure(String configFileName) { Properties props = new Properties(); //the property hashtable try { FileInputStream istream = new FileInputStream(configFileName); props.load(istream); istream.close(); } catch (IOException e) { System.err.println("Could not read configuration file [" + configFileName+ "]."); // e.printStackTrace(); System.err.println("Ignoring configuration file [" + configFileName+"]."); System.err.println("using default config"); defaultConfig(); return; } // If we reach here, then the config file is alright. System.out.println("Reading configuration."); configure(props); }
public static void configure(String configFileName) { Properties props = new Properties(); //the property hashtable try { FileInputStream istream = new FileInputStream(configFileName); props.load(istream); istream.close(); } catch (IOException e) { System.err.println("Could not read configuration file [" + configFileName+ "]."); // e.printStackTrace(); System.err.println("Ignoring configuration file [" + configFileName+"]."); System.err.println("using default config"); defaultConfig(); return; } // If we reach here, then the config file is alright. System.out.println("Reading configuration."); configure(props); }
8,233
public void configure(String configFileName) { Properties props = new Properties(); //the property hashtable try { FileInputStream istream = new FileInputStream(configFileName); props.load(istream); istream.close(); } catch (IOException e) { System.err.println("Could not read configuration file [" + configFileName+ "]."); // e.printStackTrace(); System.err.println("Ignoring configuration file [" + configFileName+"]."); System.err.println("using default config"); defaultConfig(); return; } // If we reach here, then the config file is alright. System.out.println("Reading configuration."); configure(props); }
publicvoidconfigure(StringconfigFileName){Propertiesprops=newProperties();//thepropertyhashtabletry{FileInputStreamistream=newFileInputStream(configFileName);props.load(istream);istream.close();}catch(IOExceptione){System.err.println("Couldnotreadconfigurationfile["+configFileName+"].");//e.printStackTrace();System.err.println("Ignoringconfigurationfile["+configFileName+"].");System.err.println("usingdefaultconfig");defaultConfig();return;}//Ifwereachhere,thentheconfigfileisalright.System.out.println("Readingconfiguration.");configure(props);}
8,234
public void debug(String msg) { if (priority > Priority.DEBUG) return; try { output.write(msg.getBytes()); output.write(Constants.NEW_LINE.getBytes()); } catch (IOException e) { System.err.println("error in Log.debug()"); e.printStackTrace(); } }
public static void debug(String msg) { if (priority > Priority.DEBUG) return; try { output.write(msg.getBytes()); output.write(Constants.NEW_LINE.getBytes()); } catch (IOException e) { System.err.println("error in Log.debug()"); e.printStackTrace(); } }
8,235
public void defaultConfig() { output = DEFAULT_OUTPUTSTREAM; priority = DEFAULT_PRIORITY; }
public static void defaultConfig() { output = DEFAULT_OUTPUTSTREAM; priority = DEFAULT_PRIORITY; }
8,236
public void error(String msg) { if (priority > Priority.ERROR) return; try { output.write(msg.getBytes()); output.write(Constants.NEW_LINE.getBytes()); } catch (IOException e) { System.err.println("error in Log.error()"); e.printStackTrace(); } }
public static void error(String msg) { if (priority > Priority.ERROR) return; try { output.write(msg.getBytes()); output.write(Constants.NEW_LINE.getBytes()); } catch (IOException e) { System.err.println("error in Log.error()"); e.printStackTrace(); } }
8,237
public void info(String msg) { if (priority > Priority.INFO) return; try { output.write(msg.getBytes()); output.write(Constants.NEW_LINE.getBytes()); } catch (IOException e) { System.err.println("error in Log.info()"); e.printStackTrace(); } }
public static void info(String msg) { if (priority > Priority.INFO) return; try { output.write(msg.getBytes()); output.write(Constants.NEW_LINE.getBytes()); } catch (IOException e) { System.err.println("error in Log.info()"); e.printStackTrace(); } }
8,238
public void warn(String msg) { if (priority > Priority.WARN) return; try { output.write(msg.getBytes()); output.write(Constants.NEW_LINE.getBytes()); } catch (IOException e) { System.err.println("error in Log.warn()"); e.printStackTrace(); } }
public static void warn(String msg) { if (priority > Priority.WARN) return; try { output.write(msg.getBytes()); output.write(Constants.NEW_LINE.getBytes()); } catch (IOException e) { System.err.println("error in Log.warn()"); e.printStackTrace(); } }
8,239
private void postEvent(int id, long time, int modifiers, int keyCode, char keyChar) { JNodeToolkit tk = (JNodeToolkit) Toolkit.getDefaultToolkit(); KeyEvent me = new KeyEvent(tk.getTop(), id, time, modifiers, keyCode, keyChar); eventQueue.postEvent(me); }
private void postEvent(int id, long time, int modifiers, int keyCode, char keyChar) { JNodeToolkit tk = (JNodeToolkit) Toolkit.getDefaultToolkit(); Frame top = tk.getTop(); if(top == null){ return; } KeyEvent me = new KeyEvent(top, id, time, modifiers, keyCode, keyChar); eventQueue.postEvent(me); }
8,240
public KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar) { this(source, id, when, modifiers, keyCode, keyChar, KEY_LOCATION_UNKNOWN); }
public KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation) { this(source, id, when, modifiers, keyCode, keyChar, KEY_LOCATION_UNKNOWN); }
8,241
public KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar) { this(source, id, when, modifiers, keyCode, keyChar, KEY_LOCATION_UNKNOWN); }
public KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar) { super(source, id, when, modifiers); this.keyCode = keyCode; this.keyChar = keyChar; this.keyLocation = keyLocation; if ((id == KEY_TYPED && (keyCode != VK_UNDEFINED || keyChar == CHAR_UNDEFINED)) || keyLocation < KEY_LOCATION_UNKNOWN || keyLocation > KEY_LOCATION_NUMPAD) throw new IllegalArgumentException(); }
8,242
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeException("nextRandomBytes(): " + String.valueOf(x)); } catch (LimitReachedException x) { throw new RuntimeException("nextRandomBytes(): " + String.valueOf(x)); } } else { new SecureRandom ().nextBytes(buffer); } }
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeException("nextRandomBytes(): " + String.valueOf(x)); } catch (LimitReachedException x) { throw new RuntimeException("nextRandomBytes(): " + String.valueOf(x)); } } else { new SecureRandom ().nextBytes(buffer); } }
8,243
public MediumWeightPopup(Container c) { this.add(c); }
public MediumWeightPopup(Container c) { this.add(c); }
8,246
public void hide() { // FIXME: Right now the lightweight container is removed from JLayered // pane. It is probably would be better in order to improve performance // to make the container invisible instead of removing it everytime. JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); int index = layeredPane.getIndexOf(this); layeredPane.remove(index); }
public void hide() { // FIXME: Right now the lightweight container is removed from JLayered // pane. It is probably would be better in order to improve performance // to make the container invisible instead of removing it everytime. JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); int index = layeredPane.getIndexOf(this); layeredPane.remove(index); }
8,247
public void setLabel(String label) { if (label != this.label) { String oldLabel = this.label; this.label = label; firePropertyChange("label", oldLabel, label); } }
public void setLabel(String label) { if (label != this.label) { String oldLabel = this.label; this.label = label; firePropertyChange("label", oldLabel, label); } }
8,248
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
8,249
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
8,250
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
8,251
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
8,252
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
8,253
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
8,254
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); } } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } }
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); Dimension screenSize = getToolkit().getScreenSize(); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - popupLocation.x)) || (size.height > (rootContainer.getHeight() - popupLocation.y))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(p.x, p.y, size.width, size.height); } else { // Subtract insets of the top-level container if popup menu's // top-left corner is inside it. Insets insets = rootContainer.getInsets(); if (size.width + popupLocation.x > screenSize.width) popupLocation.x -= size.width; if (size.height + popupLocation.y > screenSize.height) popupLocation.y -= size.height; popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); else { firePopupMenuWillBecomeInvisible(); popup.hide(); }
8,255
public void show(Component component, int x, int y) { setInvoker(component); Point p = new Point(x, y); SwingUtilities.convertPointToScreen(p, component); setLocation(p.x, p.y); setVisible(true); }
public void show(Component component, int x, int y) { setInvoker(component); Point p = new Point(x, y); SwingUtilities.convertPointToScreen(p, component); setLocation(p.x, p.y); setVisible(true); }
8,256
public void drawImageBuffer(Graphics2D gg2d,int x, int y, int width, int height) {// synchronized (lock) { gg2d.drawImage(bi.getSubimage(x,y,width,height),null,x,y);// } }
public void drawImageBuffer(Graphics2D gg2d,int x, int y, int width, int height) {// synchronized (lock) { gg2d.drawImage(bi.getSubimage(x,y,width,height),null,x,y);// } }
8,260
public void drawImageBuffer(Graphics2D gg2d,int x, int y, int width, int height) {// synchronized (lock) { gg2d.drawImage(bi.getSubimage(x,y,width,height),null,x,y);// } }
synchronized (lock) { synchronized (lock) { synchronized (lock) { publicsynchronized (lock) { voidsynchronized (lock) { drawImageBuffer(Graphics2Dsynchronized (lock) { gg2d,intsynchronized (lock) { x,synchronized (lock) { intsynchronized (lock) { y,synchronized (lock) { intsynchronized (lock) { width,synchronized (lock) { intsynchronized (lock) { height)synchronized (lock) { {//synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronizedsynchronized (lock) { (lock)synchronized (lock) { {synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { gg2d.drawImage(bi.getSubimage(x,y,width,height),null,x,y);//synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { }synchronized (lock) { synchronized (lock) { synchronized (lock) { }
8,261
public void drawImageBuffer(Graphics2D gg2d,int x, int y, int width, int height) {// synchronized (lock) { gg2d.drawImage(bi.getSubimage(x,y,width,height),null,x,y);// } }
lock.notify(); } lock.notify(); } lock.notify(); } public lock.notify(); } void lock.notify(); } drawImageBuffer(Graphics2D lock.notify(); } gg2d,int lock.notify(); } x, lock.notify(); } int lock.notify(); } y, lock.notify(); } int lock.notify(); } width, lock.notify(); } int lock.notify(); } height) lock.notify(); } {// lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } synchronized lock.notify(); } (lock) lock.notify(); } { lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } gg2d.drawImage(bi.getSubimage(x,y,width,height),null,x,y);// lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } lock.notify(); } } lock.notify(); } lock.notify(); } lock.notify(); } }
8,262
protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { // TODO: Maybe prepare columnSpans and columnOffsets. // Some sanity checks. If these preconditions are not met, then the // following code will not work. Also, there must be something // seriously wrong then. assert(offsets.length == columnOffsets.length); assert(spans.length == columnSpans.length); assert(offsets.length == spans.length); for (int i = 0; i < offsets.length; ++i) { offsets[i] = columnOffsets[i]; spans[i] = columnSpans[i]; } }
protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans){// TODO: Maybe prepare columnSpans and columnOffsets.// Some sanity checks. If these preconditions are not met, then the// following code will not work. Also, there must be something// seriously wrong then.assert(offsets.length == columnOffsets.length);assert(spans.length == columnSpans.length);assert(offsets.length == spans.length);for (int i = 0; i < offsets.length; ++i){offsets[i] = columnOffsets[i];spans[i] = columnSpans[i];}}
8,263
protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { // FIXME: Figure out how to fetch the row heights from the TableView's // element. super.layoutMajorAxis(targetSpan, axis, offsets, spans); }
protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { // FIXME: Figure out how to fetch the row heights from the TableView's // element. super.layoutMinorAxis(targetSpan, axis, offsets, spans); }
8,264
public TableView(Element el) { super(el, Y_AXIS); int numChildren = el.getElementCount(); View[] rows = new View[numChildren]; for (int i = 0; i < numChildren; ++i) { Element rowEl = el.getElement(i); TableRow rowView = createTableRow(rowEl); rows[i] = rowView; } replace(0, 0, rows); }
public TableView(Element el) { super(el, Y_AXIS); int numChildren = el.getElementCount(); View[] rows = new View[numChildren]; for (int i = 0; i < numChildren; ++i) { Element rowEl = el.getElement(i); TableRow rowView = createTableRow(rowEl); rows[i] = rowView; } replace(0, 0, rows); }
8,266
protected void layoutColumns(int targetSpan, int[] offsets, int spans[], SizeRequirements[] reqs) { // TODO: Figure out what exactly to do here. }
updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); protectedupdateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); voidupdateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); layoutColumns(intupdateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); targetSpan,updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); int[]updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); offsets,updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); intupdateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); spans[],updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); SizeRequirements[]updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); reqs)updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); {updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); //updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); TODO:updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); FigureupdateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); outupdateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); whatupdateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); exactlyupdateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); toupdateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); doupdateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); here.updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); updateColumnRequirements(); SizeRequirements r = calculateMinorAxisRequirements(X_AXIS, null); SizeRequirements.calculateTiledPositions(targetSpan, r, columnRequirements, offsets, spans); }
8,267
ParsedArguments(Map args) { this.args = args; }
ParsedArguments(Map args) { this.args = args; }
8,268
String[] getValues(Argument arg) { return (String[])args.get(arg); }
String[] getValues(Argument arg) { return (String[])args.get(arg); }
8,269
boolean isSet(Parameter param) { return args.containsKey(param); }
boolean isSet(Parameter param) { return args.containsKey(param); }
8,270
public int size() { return args.size(); }
public int size() { return args.size(); }
8,271
public void actionPerformed(ActionEvent event) { // TODO } // actionPerformed()
stopCellEditing(); stopCellEditing(); stopCellEditing(); stopCellEditing(); publicstopCellEditing(); voidstopCellEditing(); actionPerformed(ActionEventstopCellEditing(); event)stopCellEditing(); stopCellEditing(); stopCellEditing(); stopCellEditing(); { //stopCellEditing(); TODO }stopCellEditing(); //stopCellEditing(); actionPerformed()
8,272
public void cancelCellEditing() { // TODO } // cancelCellEditing()
fireEditingCanceled(); fireEditingCanceled(); fireEditingCanceled(); fireEditingCanceled(); publicfireEditingCanceled(); voidfireEditingCanceled(); cancelCellEditing()fireEditingCanceled(); fireEditingCanceled(); fireEditingCanceled(); fireEditingCanceled(); { //fireEditingCanceled(); TODO }fireEditingCanceled(); //fireEditingCanceled(); cancelCellEditing()
8,273
public Object getCellEditorValue() { return null; // TODO } // getCellEditorValue()
public Object getCellEditorValue() { return value; // TODO } // getCellEditorValue()
8,274
public boolean isCellEditable(EventObject event) { return false; // TODO } // isCellEditable()
public boolean isCellEditable(EventObject event) { if (!(event instanceof MouseEvent)) return true; return false; // TODO } // isCellEditable()
8,275
public void itemStateChanged(ItemEvent event) { // TODO } // itemStateChanged()
stopCellEditing(); stopCellEditing(); stopCellEditing(); stopCellEditing(); publicstopCellEditing(); voidstopCellEditing(); itemStateChanged(ItemEventstopCellEditing(); event)stopCellEditing(); stopCellEditing(); stopCellEditing(); stopCellEditing(); { //stopCellEditing(); TODO }stopCellEditing(); //stopCellEditing(); itemStateChanged()
8,276
public void setValue(Object event) { }
public void setValue(Object value) { }
8,277
public boolean shouldSelectCell(EventObject event) { return false; // TODO } // shouldSelectCell()
public boolean shouldSelectCell(EventObject event) { return true; // TODO } // shouldSelectCell()
8,279
public boolean startCellEditing(EventObject event) { return false; // TODO } // startCellEditing()
public boolean startCellEditing(EventObject event) { return true; // TODO } // startCellEditing()
8,280
public boolean stopCellEditing() { return false; // TODO } // stopCellEditing()
public boolean stopCellEditing() { fireEditingStopped(); return true; // TODO } // stopCellEditing()
8,281
public DefaultCellEditor(JTextField textfield) { // TODO } // DefaultCellEditor()
editorComponent = textfield; clickCountToStart = 2; editorComponent = textfield; clickCountToStart = 2; publiceditorComponent = textfield; clickCountToStart = 2; DefaultCellEditor(JTextFieldeditorComponent = textfield; clickCountToStart = 2; textfield)editorComponent = textfield; clickCountToStart = 2; editorComponent = textfield; clickCountToStart = 2; { //editorComponent = textfield; clickCountToStart = 2; TODO }editorComponent = textfield; clickCountToStart = 2; //editorComponent = textfield; clickCountToStart = 2; DefaultCellEditor()
8,282
public void cancelCellEditing() { // TODO } // cancelCellEditing()
delegate.cancelCellEditing(); delegate.cancelCellEditing(); publicdelegate.cancelCellEditing(); voiddelegate.cancelCellEditing(); cancelCellEditing()delegate.cancelCellEditing(); delegate.cancelCellEditing(); { //delegate.cancelCellEditing(); TODO }delegate.cancelCellEditing(); //delegate.cancelCellEditing(); cancelCellEditing()
8,283
public Object getCellEditorValue() { return null; // TODO } // getCellEditorValue()
public Object getCellEditorValue() { return delegate.getCellEditorValue(); // TODO } // getCellEditorValue()
8,284
public int getClickCountToStart() { return 0; // TODO } // getClickCountToStart()
public int getClickCountToStart() { return clickCountToStart; // TODO } // getClickCountToStart()
8,285
public Component getComponent() { return null; // TODO } // getComponent()
public Component getComponent() { return editorComponent; // TODO } // getComponent()
8,286
public Component getTableCellEditorComponent(JTable tree, Object value, boolean isSelected, int row, int column) { return null; // TODO } // getTableCellEditorComponent()
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) { return null; // TODO } // getTableCellEditorComponent()
8,287
public Component getTableCellEditorComponent(JTable tree, Object value, boolean isSelected, int row, int column) { return null; // TODO } // getTableCellEditorComponent()
public Component getTableCellEditorComponent(JTable tree, Object value, boolean isSelected, int row, int column) { if (editorComponent instanceof JTextField) { ((JTextField)editorComponent).setText(value.toString()); delegate = new EditorDelegate(); ((JTextField)editorComponent).addActionListener(delegate); } else { } return editorComponent; // TODO } // getTableCellEditorComponent()
8,288
public boolean isCellEditable(EventObject event) { return false; // TODO } // isCellEditable()
public boolean isCellEditable(EventObject event) { return delegate.isCellEditable(event); // TODO } // isCellEditable()
8,289
public void setClickCountToStart(int count) { // TODO } // setClickCountToStart()
clickCountToStart = count; clickCountToStart = count; publicclickCountToStart = count; voidclickCountToStart = count; setClickCountToStart(intclickCountToStart = count; count)clickCountToStart = count; clickCountToStart = count; { //clickCountToStart = count; TODO }clickCountToStart = count; //clickCountToStart = count; setClickCountToStart()
8,290
public boolean shouldSelectCell(EventObject event) { return false; // TODO } // shouldSelectCell()
public boolean shouldSelectCell(EventObject event) { return delegate.shouldSelectCell(event); // TODO } // shouldSelectCell()
8,291
public boolean stopCellEditing() { return false; // TODO } // stopCellEditing()
public boolean stopCellEditing() { return delegate.stopCellEditing(); // TODO } // stopCellEditing()
8,292
public void mouseClicked(MouseEvent e) {}
public void mouseClicked(MouseEvent e) {}
8,293