bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void show() { // We insert a JPanel between the layered pane and the contents so we // can fiddle with the setLocation() method without disturbing a // JPopupMenu (which overrides setLocation in an unusual manner). if (panel == null) { panel = new JPanel(); panel.setLayout(null); } panel.add(contents); panel.setSize(contents.getSize()); Point layeredPaneLoc = layeredPane.getLocationOnScreen(); panel.setLocation(x - layeredPaneLoc.x, y - layeredPaneLoc.y); layeredPane.add(panel, JLayeredPane.POPUP_LAYER); }
public void show() { // We insert a JPanel between the layered pane and the contents so we // can fiddle with the setLocation() method without disturbing a // JPopupMenu (which overrides setLocation in an unusual manner). if (panel == null) { panel = new JPanel(); panel.setLayout(new FlowLayout(0, 0, 0)); } panel.add(contents); panel.setSize(contents.getSize()); Point layeredPaneLoc = layeredPane.getLocationOnScreen(); panel.setLocation(x - layeredPaneLoc.x, y - layeredPaneLoc.y); layeredPane.add(panel, JLayeredPane.POPUP_LAYER); }
10,395
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics(); int ascent = metrics.getAscent(); // The current x and y pixel coordinates. int pixelX = x; int pixelY = y - ascent; int pixelWidth = 0; int pos = s.offset; int len = 0; int end = s.offset + s.count; for (int offset = s.offset; offset < end; ++offset) { char c = buffer[offset]; if (c == '\t' || c == '\n') { if (len > 0) { g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); pixelX += pixelWidth; pixelWidth = 0; } pos = offset+1; len = 0; } switch (c) { case '\t': // In case we have a tab, we just 'jump' over the tab. // When we have no tab expander we just use the width of ' '. if (e != null) pixelX = (int) e.nextTabStop((float) pixelX, startOffset + offset - s.offset); else pixelX += metrics.charWidth(' '); break; case '\n': // In case we have a newline, we must jump to the next line. pixelY += metrics.getHeight(); pixelX = x; break; default: ++len; pixelWidth += metrics.charWidth(buffer[offset]); break; } } if (len > 0) g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); return pixelX + pixelWidth; }
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics(); int ascent = metrics.getAscent(); // The current x and y pixel coordinates. int pixelX = x; int pixelY = y - ascent; int pixelWidth = 0; int pos = s.offset; int len = 0; int end = s.offset + s.count; for (int offset = s.offset; offset < end; ++offset) { char c = buffer[offset]; if (c == '\t') { if (len > 0) { g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); pixelX += pixelWidth; pixelWidth = 0; } pos = offset+1; len = 0; } switch (c) { case '\t': // In case we have a tab, we just 'jump' over the tab. // When we have no tab expander we just use the width of ' '. if (e != null) pixelX = (int) e.nextTabStop((float) pixelX, startOffset + offset - s.offset); else pixelX += metrics.charWidth(' '); break; case '\n': // In case we have a newline, we must jump to the next line. pixelY += metrics.getHeight(); pixelX = x; break; default: ++len; pixelWidth += metrics.charWidth(buffer[offset]); break; } } if (len > 0) g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); return pixelX + pixelWidth; }
10,397
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics(); int ascent = metrics.getAscent(); // The current x and y pixel coordinates. int pixelX = x; int pixelY = y - ascent; int pixelWidth = 0; int pos = s.offset; int len = 0; int end = s.offset + s.count; for (int offset = s.offset; offset < end; ++offset) { char c = buffer[offset]; if (c == '\t' || c == '\n') { if (len > 0) { g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); pixelX += pixelWidth; pixelWidth = 0; } pos = offset+1; len = 0; } switch (c) { case '\t': // In case we have a tab, we just 'jump' over the tab. // When we have no tab expander we just use the width of ' '. if (e != null) pixelX = (int) e.nextTabStop((float) pixelX, startOffset + offset - s.offset); else pixelX += metrics.charWidth(' '); break; case '\n': // In case we have a newline, we must jump to the next line. pixelY += metrics.getHeight(); pixelX = x; break; default: ++len; pixelWidth += metrics.charWidth(buffer[offset]); break; } } if (len > 0) g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); return pixelX + pixelWidth; }
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics(); int ascent = metrics.getAscent(); // The current x and y pixel coordinates. int pixelX = x; int pixelY = y - ascent; int pixelWidth = 0; int pos = s.offset; int len = 0; int end = s.offset + s.count; for (int offset = s.offset; offset < end; ++offset) { char c = buffer[offset]; if (c == '\t' || c == '\n') { if (len > 0) { g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); pixelX += pixelWidth; pixelWidth = 0; } pos = offset+1; len = 0; } switch (c) { case '\t': // In case we have a tab, we just 'jump' over the tab. // When we have no tab expander we just use the width of ' '. if (e != null) pixelX = (int) e.nextTabStop((float) pixelX, startOffset + offset - s.offset); else pixelX += metrics.charWidth(' '); break; case '\n': // In case we have a newline, we must jump to the next line. pixelY += metrics.getHeight(); pixelX = x; break; default: ++len; pixelWidth += metrics.charWidth(buffer[offset]); break; } } if (len > 0) g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); return pixelX + pixelWidth; }
10,398
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics(); int ascent = metrics.getAscent(); // The current x and y pixel coordinates. int pixelX = x; int pixelY = y - ascent; int pixelWidth = 0; int pos = s.offset; int len = 0; int end = s.offset + s.count; for (int offset = s.offset; offset < end; ++offset) { char c = buffer[offset]; if (c == '\t' || c == '\n') { if (len > 0) { g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); pixelX += pixelWidth; pixelWidth = 0; } pos = offset+1; len = 0; } switch (c) { case '\t': // In case we have a tab, we just 'jump' over the tab. // When we have no tab expander we just use the width of ' '. if (e != null) pixelX = (int) e.nextTabStop((float) pixelX, startOffset + offset - s.offset); else pixelX += metrics.charWidth(' '); break; case '\n': // In case we have a newline, we must jump to the next line. pixelY += metrics.getHeight(); pixelX = x; break; default: ++len; pixelWidth += metrics.charWidth(buffer[offset]); break; } } if (len > 0) g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); return pixelX + pixelWidth; }
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The font metrics of the current selected font. FontMetrics metrics = g.getFontMetrics(); int ascent = metrics.getAscent(); // The current x and y pixel coordinates. int pixelX = x; int pixelY = y - ascent; int pixelWidth = 0; int pos = s.offset; int len = 0; int end = s.offset + s.count; for (int offset = s.offset; offset < end; ++offset) { char c = buffer[offset]; if (c == '\t' || c == '\n') { if (len > 0) { g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); pixelX += pixelWidth; pixelWidth = 0; } pos = offset+1; len = 0; } switch (c) { case '\t': // In case we have a tab, we just 'jump' over the tab. // When we have no tab expander we just use the width of ' '. if (e != null) pixelX = (int) e.nextTabStop((float) pixelX, startOffset + offset - s.offset); else pixelX += metrics.charWidth(' '); break; case '\n': // In case we have a newline, we must jump to the next line. pixelY += metrics.getHeight(); pixelX = x; break; default: ++len; pixelWidth += metrics.charWidth(buffer[offset]); break; } } if (len > 0) g.drawChars(buffer, pos, len, pixelX, pixelY + ascent); return pixelX + pixelWidth; }
10,399
public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset, false); BreakIterator breaker = BreakIterator.getWordInstance(); breaker.setText(s); // If startOffset and s.offset differ then we need to use // that difference two convert the offset between the two metrics. int shift = startOffset - s.offset; // If mark is equal to the end of the string, just use that position. if (mark >= shift + s.count) return mark; // Try to find a word boundary previous to the mark at which we // can break the text. int preceding = breaker.preceding(mark + 1 - shift); if (preceding != 0) return preceding + shift; // If preceding is 0 we couldn't find a suitable word-boundary so // just break it on the character boundary return mark; }
public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset, false); BreakIterator breaker = BreakIterator.getWordInstance(); breaker.setText(s); // If startOffset and s.offset differ then we need to use // that difference two convert the offset between the two metrics. int shift = startOffset - s.offset; // If mark is equal to the end of the string, just use that position. if (mark >= shift + s.count) return mark; // Try to find a word boundary previous to the mark at which we // can break the text. int preceding = breaker.preceding(mark + 1 + s.offset); if (preceding != 0) return preceding + shift; // If preceding is 0 we couldn't find a suitable word-boundary so // just break it on the character boundary return mark; }
10,400
static int getNextVisualPositionFrom(JTextComponent t, int offset, int direction) { NavigationFilter nf = t.getNavigationFilter(); try { return (nf != null) ? nf.getNextVisualPositionFrom(t, offset, Bias.Forward, direction, null) : t.getUI().getNextVisualPositionFrom(t, offset, Bias.Forward, direction, null); } catch (BadLocationException ble) { return offset; } }
static int getNextVisualPositionFrom(JTextComponent t, int offset, int direction) { NavigationFilter nf = t.getNavigationFilter(); try { return (nf != new Position.Bias[1]) ? nf.getNextVisualPositionFrom(t, offset, Bias.Forward, direction, new Position.Bias[1]) : t.getUI().getNextVisualPositionFrom(t, offset, Bias.Forward, direction, null); } catch (BadLocationException ble) { return offset; } }
10,401
static int getNextVisualPositionFrom(JTextComponent t, int offset, int direction) { NavigationFilter nf = t.getNavigationFilter(); try { return (nf != null) ? nf.getNextVisualPositionFrom(t, offset, Bias.Forward, direction, null) : t.getUI().getNextVisualPositionFrom(t, offset, Bias.Forward, direction, null); } catch (BadLocationException ble) { return offset; } }
static int getNextVisualPositionFrom(JTextComponent t, int offset, int direction) { NavigationFilter nf = t.getNavigationFilter(); try { return (nf != null) ? nf.getNextVisualPositionFrom(t, offset, Bias.Forward, direction, null) : t.getUI().getNextVisualPositionFrom(t, offset, Bias.Forward, direction, new Position.Bias[1]); } catch (BadLocationException ble) { return offset; } }
10,402
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int currentX = x0; int width = 0; for (pos = 0; pos < s.count; pos++) { char nextChar = s.array[s.offset+pos]; if (nextChar == 0) break; if (nextChar != '\t') width = fm.charWidth(nextChar); else { if (te == null) width = fm.charWidth(' '); else width = ((int) te.nextTabStop(currentX, pos)) - currentX; } if (round) { if (currentX + (width>>1) > x) break; } else { if (currentX + width > x) break; } currentX += width; } return pos + p0; }
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int currentX = x0; int width = 0; for (pos = 0; pos < s.count; pos++) { char nextChar = s.array[s.offset+pos]; if (nextChar == 0) break; if (nextChar != '\t') width = fm.charWidth(nextChar); else { if (te == null) width = fm.charWidth(' '); else width = ((int) te.nextTabStop(currentX, pos)) - currentX; } if (round) { if (currentX + (width>>1) > x) break; } else { if (currentX + width > x) break; } currentX += width; } return pos; }
10,403
public static final int getTabbedTextWidth(Segment s, FontMetrics metrics, int x, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The current x coordinate. int pixelX = x; // The current maximum width. int maxWidth = 0; for (int offset = s.offset; offset < (s.offset + s.count); ++offset) { switch (buffer[offset]) { case '\t': // In case we have a tab, we just 'jump' over the tab. // When we have no tab expander we just use the width of 'm'. if (e != null) pixelX = (int) e.nextTabStop((float) pixelX, startOffset + offset - s.offset); else pixelX += metrics.charWidth(' '); break; case '\n': // In case we have a newline, we must 'draw' // the buffer and jump on the next line. pixelX += metrics.charWidth(buffer[offset]); maxWidth = Math.max(maxWidth, pixelX - x); pixelX = x; break; default: // Here we draw the char. pixelX += metrics.charWidth(buffer[offset]); break; } } // Take the last line into account. maxWidth = Math.max(maxWidth, pixelX - x); return maxWidth; }
public static final int getTabbedTextWidth(Segment s, FontMetrics metrics, int x, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The current x coordinate. int pixelX = x; // The current maximum width. int maxWidth = 0; for (int offset = s.offset; offset < (s.offset + s.count); ++offset) { switch (buffer[offset]) { case '\t': // In case we have a tab, we just 'jump' over the tab. // When we have no tab expander we just use the width of 'm'. if (e != null) pixelX = (int) e.nextTabStop((float) pixelX, startOffset + offset - s.offset); else pixelX += metrics.charWidth(' '); break; case '\n': // In case we have a newline, we must 'draw' // the buffer and jump on the next line. pixelX += metrics.charWidth(buffer[offset]); maxWidth = Math.max(maxWidth, pixelX - x); pixelX = x; break; default: // Here we draw the char. pixelX += metrics.charWidth(buffer[offset]); break; } } // Take the last line into account. maxWidth = Math.max(maxWidth, pixelX - x); return maxWidth; }
10,404
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { g.setColor(unselectedColor); Segment segment = new Segment(); getDocument().getText(p0, p1 - p0, segment); return Utilities.drawTabbedText(segment, x, y, g, this, 0); }
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { g.setColor(unselectedColor); Segment segment = new Segment(); getDocument().getText(p0, p1 - p0, segment); return Utilities.drawTabbedText(segment, x, y, g, this, segment.offset); }
10,405
public void setBoundsForFrame(JComponent f, int x, int y, int w, int h) { System.out.println(" we are adjusting "); if (f instanceof MyInternalFrame == false) { super.setBoundsForFrame(f, x, y, w, h); // only deal w/internal frames } else { MyInternalFrame frame = (MyInternalFrame)f; // Figure out if we are being resized (otherwise it's just a move) boolean resizing = false; Object r = frame.getClientProperty(RESIZING); if (r != null && r instanceof Boolean) { resizing = ((Boolean)r).booleanValue(); } JDesktopPane desk = frame.getDesktopPane(); Dimension d = desk.getSize(); // Nothing all that fancy below, just figuring out how to adjust // to keep the frame on the desktop. if (x < 0) { // too far left? if (resizing) w += x; // don't get wider! x=0; // flush against the left side } else { if (x+w>d.width) { // too far right? if (resizing) w = d.width-x; // don't get wider! else x = d.width-w; // flush against the right side } } if (y < 0) { // too high? if (resizing) h += y; // don't get taller! y=0; // flush against the top } else { if (y+h > d.height) { // too low? if (resizing) h = d.height - y; // don't get taller! else y = d.height-h; // flush against the bottom } } // Set 'em the way we like 'em super.setBoundsForFrame(f, x, y, w, h);// ((MyInternalFrame)f).resizeMe(); } }
public void setBoundsForFrame(JComponent f, int x, int y, int w, int h) { log.info(" we are adjusting "); if (f instanceof MyInternalFrame == false) { super.setBoundsForFrame(f, x, y, w, h); // only deal w/internal frames } else { MyInternalFrame frame = (MyInternalFrame)f; // Figure out if we are being resized (otherwise it's just a move) boolean resizing = false; Object r = frame.getClientProperty(RESIZING); if (r != null && r instanceof Boolean) { resizing = ((Boolean)r).booleanValue(); } JDesktopPane desk = frame.getDesktopPane(); Dimension d = desk.getSize(); // Nothing all that fancy below, just figuring out how to adjust // to keep the frame on the desktop. if (x < 0) { // too far left? if (resizing) w += x; // don't get wider! x=0; // flush against the left side } else { if (x+w>d.width) { // too far right? if (resizing) w = d.width-x; // don't get wider! else x = d.width-w; // flush against the right side } } if (y < 0) { // too high? if (resizing) h += y; // don't get taller! y=0; // flush against the top } else { if (y+h > d.height) { // too low? if (resizing) h = d.height - y; // don't get taller! else y = d.height-h; // flush against the bottom } } // Set 'em the way we like 'em super.setBoundsForFrame(f, x, y, w, h);// ((MyInternalFrame)f).resizeMe(); } }
10,406
public Gui5250MDIFrame(My5250 m) { super(m); enableEvents(AWTEvent.WINDOW_EVENT_MASK); try { jbInit(); } catch(Exception e) { e.printStackTrace(); } }
public Gui5250MDIFrame(My5250 m) { super(m); enableEvents(AWTEvent.WINDOW_EVENT_MASK); try { jbInit(); } catch(Exception e) { log.warn("In constructor: "+e); } }
10,407
public void addSessionView(String tabText,Session session) { MyInternalFrame frame = new MyInternalFrame(); frame.setVisible(true); desktop.add(frame); myFrameList.add(frame); selectedIndex = desktop.getComponentCount(); frame.setContentPane(session); try { frame.setSelected(true); } catch (java.beans.PropertyVetoException e) {} session.addSessionListener(this); session.addSessionJumpListener(this); try { frame.setMaximum(true); } catch (java.beans.PropertyVetoException pve) { System.out.println("Can not set maximum " + pve.getMessage()); } }
public void addSessionView(String tabText,Session session) { MyInternalFrame frame = new MyInternalFrame(); frame.setVisible(true); desktop.add(frame); myFrameList.add(frame); selectedIndex = desktop.getComponentCount(); frame.setContentPane(session); try { frame.setSelected(true); } catch (java.beans.PropertyVetoException e) {} session.addSessionListener(this); session.addSessionJumpListener(this); try { frame.setMaximum(true); } catch (java.beans.PropertyVetoException pve) { log.warn("Can not set maximum " + pve.getMessage()); } }
10,408
private MyInternalFrame getNextInternalFrame() { JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames(); JInternalFrame miv = desktop.getSelectedFrame(); if (miv == null) return null; int index = desktop.getIndexOf(miv); if (index == -1) return null; MyInternalFrame mix = (MyInternalFrame)frames[index]; int seq = mix.getInternalId(); index = 0; for (int x = 0; x < myFrameList.size(); x++) { MyInternalFrame mif = (MyInternalFrame)myFrameList.get(x);// System.out.println(" current index " + x + " count " + frames.length + " has focus " +// mif.isActive() + " title " + mif.getTitle() + " seq " + seq +// " id " + mif.getInternalId()); if (mix.equals(mif)) { index = x + 1; break; } } if (index > myFrameList.size() - 1) { index = 0; } return (MyInternalFrame)myFrameList.get(index); }
log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); private MyInternalFrame getNextInternalFrame() {log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames();log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); JInternalFrame miv = desktop.getSelectedFrame();log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); if (miv == null)log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); return null;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); int index = desktop.getIndexOf(miv);log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); if (index == -1)log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); return null;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); MyInternalFrame mix = (MyInternalFrame)frames[index];log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); int seq = mix.getInternalId();log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); index = 0;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); for (int x = 0; x < myFrameList.size(); x++) {log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); MyInternalFrame mif = (MyInternalFrame)myFrameList.get(x);//log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); System.out.println(" current index " + x + " count " + frames.length + " has focus " +//log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); mif.isActive() + " title " + mif.getTitle() + " seq " + seq +//log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); " id " + mif.getInternalId());log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); if (mix.equals(mif)) {log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); index = x + 1;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); break;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); }log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); }log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); if (index > myFrameList.size() - 1) {log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); index = 0;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); }log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); return (MyInternalFrame)myFrameList.get(index);log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); }
10,409
private void nextSession() { MyInternalFrame mif = getNextInternalFrame(); if (mif != null) { try { if (mif.isIcon()) { mif.setIcon(false); } mif.setSelected(true); } catch (java.beans.PropertyVetoException e) { System.out.println(e.getMessage()); } }// System.out.println(" current index " + index + " count " + desktop.getComponentCount()); }
private void nextSession() { MyInternalFrame mif = getNextInternalFrame(); if (mif != null) { try { if (mif.isIcon()) { mif.setIcon(false); } mif.setSelected(true); } catch (java.beans.PropertyVetoException e) { log.warn(e.getMessage()); } }// System.out.println(" current index " + index + " count " + desktop.getComponentCount()); }
10,410
public void onSessionChanged(SessionChangeEvent changeEvent) { Session ses = (Session)changeEvent.getSource(); switch (changeEvent.getState()) { case STATE_CONNECTED: final String d = ses.getAllocDeviceName(); if (d != null) { System.out.println(changeEvent.getState() + " " + d); final int index = getIndexOfSession(ses);// System.out.println(" index of session " + index + " num frames " + desktop.getAllFrames().length); if (index == -1) return; Runnable tc = new Runnable () { public void run() { JInternalFrame[] frames = desktop.getAllFrames(); int id = ((MyInternalFrame)frames[index]).getInternalId(); frames[index].setTitle("#" + id + " " + d); } }; SwingUtilities.invokeLater(tc); } break; } }
public void onSessionChanged(SessionChangeEvent changeEvent) { Session ses = (Session)changeEvent.getSource(); switch (changeEvent.getState()) { case STATE_CONNECTED: final String d = ses.getAllocDeviceName(); if (d != null) { log.info(changeEvent.getState() + " " + d); final int index = getIndexOfSession(ses);// System.out.println(" index of session " + index + " num frames " + desktop.getAllFrames().length); if (index == -1) return; Runnable tc = new Runnable () { public void run() { JInternalFrame[] frames = desktop.getAllFrames(); int id = ((MyInternalFrame)frames[index]).getInternalId(); frames[index].setTitle("#" + id + " " + d); } }; SwingUtilities.invokeLater(tc); } break; } }
10,411
public void onSessionChanged(SessionChangeEvent changeEvent) { Session ses = (Session)changeEvent.getSource(); switch (changeEvent.getState()) { case STATE_CONNECTED: final String d = ses.getAllocDeviceName(); if (d != null) { System.out.println(changeEvent.getState() + " " + d); final int index = getIndexOfSession(ses);// System.out.println(" index of session " + index + " num frames " + desktop.getAllFrames().length); if (index == -1) return; Runnable tc = new Runnable () { public void run() { JInternalFrame[] frames = desktop.getAllFrames(); int id = ((MyInternalFrame)frames[index]).getInternalId(); frames[index].setTitle("#" + id + " " + d); } }; SwingUtilities.invokeLater(tc); } break; } }
log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); publiclog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); voidlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); onSessionChanged(SessionChangeEventlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); changeEvent)log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); {log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); Sessionlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); seslog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); =log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); (Session)changeEvent.getSource();log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); switchlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); (changeEvent.getState())log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); {log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); caselog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); STATE_CONNECTED:log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); finallog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); Stringlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); dlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); =log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); ses.getAllocDeviceName();log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); iflog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); (dlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); !=log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); null)log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); {log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); System.out.println(changeEvent.getState()log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); +log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); "log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); "log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); +log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); d);log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); finallog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); intlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); indexlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); =log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); getIndexOfSession(ses);//log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); System.out.println("log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); indexlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); oflog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); sessionlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); "log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); +log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); indexlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); +log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); "log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); numlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); frameslog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); "log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); +log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); desktop.getAllFrames().length);log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); iflog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); (indexlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); ==log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); -1)log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); return;log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); Runnablelog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); tclog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); =log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); newlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); Runnablelog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); ()log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); {log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); publiclog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); voidlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); run()log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); {log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); JInternalFrame[]log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); frameslog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); =log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); desktop.getAllFrames();log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); intlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); idlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); =log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); ((MyInternalFrame)frames[index]).getInternalId();log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); frames[index].setTitle("#"log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); +log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); idlog.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); +log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); "log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); "log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); +log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); d);log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); }log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); };log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); SwingUtilities.invokeLater(tc);log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); }log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); break;log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); }log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); log.debug(" index of session " + index + " num frames " + desktop.getAllFrames().length); }
10,412
private void prevSession() { JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames(); JInternalFrame miv = desktop.getSelectedFrame(); if (miv == null) return; int index = desktop.getIndexOf(miv); if (index == -1) return; MyInternalFrame mix = (MyInternalFrame)frames[index]; int seq = mix.getInternalId(); index = 0; for (int x = 0; x < myFrameList.size(); x++) { MyInternalFrame mif = (MyInternalFrame)myFrameList.get(x);// System.out.println(" current index " + x + " count " + frames.length + " has focus " +// mif.isActive() + " title " + mif.getTitle() + " seq " + seq +// " id " + mif.getInternalId()); if (mix.equals(mif)) { index = x - 1; break; } } if (index < 0) { index = myFrameList.size() - 1; } try { MyInternalFrame mif = (MyInternalFrame)myFrameList.get(index); if (mif.isIcon()) { mif.setIcon(false); } mif.setSelected(true); } catch (java.beans.PropertyVetoException e) { System.out.println(e.getMessage()); }// System.out.println(" current index " + index + " count " + desktop.getComponentCount()); }
log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); private void prevSession() {log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames();log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); JInternalFrame miv = desktop.getSelectedFrame();log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); if (miv == null)log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); return;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); int index = desktop.getIndexOf(miv);log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); if (index == -1)log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); return;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); MyInternalFrame mix = (MyInternalFrame)frames[index];log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); int seq = mix.getInternalId();log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); index = 0;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); for (int x = 0; x < myFrameList.size(); x++) {log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); MyInternalFrame mif = (MyInternalFrame)myFrameList.get(x);//log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); System.out.println(" current index " + x + " count " + frames.length + " has focus " +//log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); mif.isActive() + " title " + mif.getTitle() + " seq " + seq +//log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); " id " + mif.getInternalId());log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); if (mix.equals(mif)) {log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); index = x - 1;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); break;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); }log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); }log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); if (index < 0) {log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); index = myFrameList.size() - 1;log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); }log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); try {log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); MyInternalFrame mif = (MyInternalFrame)myFrameList.get(index);log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); if (mif.isIcon()) {log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); mif.setIcon(false);log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); }log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); mif.setSelected(true);log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); }log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); catch (java.beans.PropertyVetoException e) {log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); System.out.println(e.getMessage());log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); }//log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); System.out.println(" current index " + index + " count " + desktop.getComponentCount());log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId()); }
10,413
private void prevSession() { JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames(); JInternalFrame miv = desktop.getSelectedFrame(); if (miv == null) return; int index = desktop.getIndexOf(miv); if (index == -1) return; MyInternalFrame mix = (MyInternalFrame)frames[index]; int seq = mix.getInternalId(); index = 0; for (int x = 0; x < myFrameList.size(); x++) { MyInternalFrame mif = (MyInternalFrame)myFrameList.get(x);// System.out.println(" current index " + x + " count " + frames.length + " has focus " +// mif.isActive() + " title " + mif.getTitle() + " seq " + seq +// " id " + mif.getInternalId()); if (mix.equals(mif)) { index = x - 1; break; } } if (index < 0) { index = myFrameList.size() - 1; } try { MyInternalFrame mif = (MyInternalFrame)myFrameList.get(index); if (mif.isIcon()) { mif.setIcon(false); } mif.setSelected(true); } catch (java.beans.PropertyVetoException e) { System.out.println(e.getMessage()); }// System.out.println(" current index " + index + " count " + desktop.getComponentCount()); }
private void prevSession() { JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames(); JInternalFrame miv = desktop.getSelectedFrame(); if (miv == null) return; int index = desktop.getIndexOf(miv); if (index == -1) return; MyInternalFrame mix = (MyInternalFrame)frames[index]; int seq = mix.getInternalId(); index = 0; for (int x = 0; x < myFrameList.size(); x++) { MyInternalFrame mif = (MyInternalFrame)myFrameList.get(x);// System.out.println(" current index " + x + " count " + frames.length + " has focus " +// mif.isActive() + " title " + mif.getTitle() + " seq " + seq +// " id " + mif.getInternalId()); if (mix.equals(mif)) { index = x - 1; break; } } if (index < 0) { index = myFrameList.size() - 1; } try { MyInternalFrame mif = (MyInternalFrame)myFrameList.get(index); if (mif.isIcon()) { mif.setIcon(false); } mif.setSelected(true); } catch (java.beans.PropertyVetoException e) { log.warn(e.getMessage()); }// System.out.println(" current index " + index + " count " + desktop.getComponentCount()); }
10,414
public void removeSessionView(Session targetSession) { int index = getIndexOfSession(targetSession); MyInternalFrame nextMIF = getNextInternalFrame(); System.out.println("session found and closing down " + index); targetSession.removeSessionListener(this); targetSession.removeSessionJumpListener(this); JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames(); MyInternalFrame mif = (MyInternalFrame)frames[index]; int count = getSessionViewCount();// System.out.println(" num of frames before removal " + myFrameList.size()); myFrameList.remove(mif);// System.out.println(" num of frames left " + myFrameList.size()); desktop.remove(index); if (nextMIF != null) { try { nextMIF.setSelected(true); } catch (java.beans.PropertyVetoException e) { System.out.println(e.getMessage()); } } this.repaint(); }
public void removeSessionView(Session targetSession) { int index = getIndexOfSession(targetSession); MyInternalFrame nextMIF = getNextInternalFrame(); log.info("session found and closing down " + index); targetSession.removeSessionListener(this); targetSession.removeSessionJumpListener(this); JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames(); MyInternalFrame mif = (MyInternalFrame)frames[index]; int count = getSessionViewCount();// System.out.println(" num of frames before removal " + myFrameList.size()); myFrameList.remove(mif);// System.out.println(" num of frames left " + myFrameList.size()); desktop.remove(index); if (nextMIF != null) { try { nextMIF.setSelected(true); } catch (java.beans.PropertyVetoException e) { System.out.println(e.getMessage()); } } this.repaint(); }
10,415
public void removeSessionView(Session targetSession) { int index = getIndexOfSession(targetSession); MyInternalFrame nextMIF = getNextInternalFrame(); System.out.println("session found and closing down " + index); targetSession.removeSessionListener(this); targetSession.removeSessionJumpListener(this); JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames(); MyInternalFrame mif = (MyInternalFrame)frames[index]; int count = getSessionViewCount();// System.out.println(" num of frames before removal " + myFrameList.size()); myFrameList.remove(mif);// System.out.println(" num of frames left " + myFrameList.size()); desktop.remove(index); if (nextMIF != null) { try { nextMIF.setSelected(true); } catch (java.beans.PropertyVetoException e) { System.out.println(e.getMessage()); } } this.repaint(); }
log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); publiclog.debug(" num of frames before removal " + myFrameList.size()); voidlog.debug(" num of frames before removal " + myFrameList.size()); removeSessionView(Sessionlog.debug(" num of frames before removal " + myFrameList.size()); targetSession)log.debug(" num of frames before removal " + myFrameList.size()); {log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); intlog.debug(" num of frames before removal " + myFrameList.size()); indexlog.debug(" num of frames before removal " + myFrameList.size()); =log.debug(" num of frames before removal " + myFrameList.size()); getIndexOfSession(targetSession);log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); MyInternalFramelog.debug(" num of frames before removal " + myFrameList.size()); nextMIFlog.debug(" num of frames before removal " + myFrameList.size()); =log.debug(" num of frames before removal " + myFrameList.size()); getNextInternalFrame();log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); System.out.println("sessionlog.debug(" num of frames before removal " + myFrameList.size()); foundlog.debug(" num of frames before removal " + myFrameList.size()); andlog.debug(" num of frames before removal " + myFrameList.size()); closinglog.debug(" num of frames before removal " + myFrameList.size()); downlog.debug(" num of frames before removal " + myFrameList.size()); "log.debug(" num of frames before removal " + myFrameList.size()); +log.debug(" num of frames before removal " + myFrameList.size()); index);log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); targetSession.removeSessionListener(this);log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); targetSession.removeSessionJumpListener(this);log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); JInternalFrame[]log.debug(" num of frames before removal " + myFrameList.size()); frameslog.debug(" num of frames before removal " + myFrameList.size()); =log.debug(" num of frames before removal " + myFrameList.size()); (JInternalFrame[])desktop.getAllFrames();log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); MyInternalFramelog.debug(" num of frames before removal " + myFrameList.size()); miflog.debug(" num of frames before removal " + myFrameList.size()); =log.debug(" num of frames before removal " + myFrameList.size()); (MyInternalFrame)frames[index];log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); intlog.debug(" num of frames before removal " + myFrameList.size()); countlog.debug(" num of frames before removal " + myFrameList.size()); =log.debug(" num of frames before removal " + myFrameList.size()); getSessionViewCount();//log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); System.out.println("log.debug(" num of frames before removal " + myFrameList.size()); numlog.debug(" num of frames before removal " + myFrameList.size()); oflog.debug(" num of frames before removal " + myFrameList.size()); frameslog.debug(" num of frames before removal " + myFrameList.size()); beforelog.debug(" num of frames before removal " + myFrameList.size()); removallog.debug(" num of frames before removal " + myFrameList.size()); "log.debug(" num of frames before removal " + myFrameList.size()); +log.debug(" num of frames before removal " + myFrameList.size()); myFrameList.size());log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); myFrameList.remove(mif);//log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); System.out.println("log.debug(" num of frames before removal " + myFrameList.size()); numlog.debug(" num of frames before removal " + myFrameList.size()); oflog.debug(" num of frames before removal " + myFrameList.size()); frameslog.debug(" num of frames before removal " + myFrameList.size()); leftlog.debug(" num of frames before removal " + myFrameList.size()); "log.debug(" num of frames before removal " + myFrameList.size()); +log.debug(" num of frames before removal " + myFrameList.size()); myFrameList.size());log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); desktop.remove(index);log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); iflog.debug(" num of frames before removal " + myFrameList.size()); (nextMIFlog.debug(" num of frames before removal " + myFrameList.size()); !=log.debug(" num of frames before removal " + myFrameList.size()); null)log.debug(" num of frames before removal " + myFrameList.size()); {log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); trylog.debug(" num of frames before removal " + myFrameList.size()); {log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); nextMIF.setSelected(true);log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); }log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); catchlog.debug(" num of frames before removal " + myFrameList.size()); (java.beans.PropertyVetoExceptionlog.debug(" num of frames before removal " + myFrameList.size()); e)log.debug(" num of frames before removal " + myFrameList.size()); {log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); System.out.println(e.getMessage());log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); }log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); }log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); this.repaint();log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); log.debug(" num of frames before removal " + myFrameList.size()); }
10,416
public void removeSessionView(Session targetSession) { int index = getIndexOfSession(targetSession); MyInternalFrame nextMIF = getNextInternalFrame(); System.out.println("session found and closing down " + index); targetSession.removeSessionListener(this); targetSession.removeSessionJumpListener(this); JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames(); MyInternalFrame mif = (MyInternalFrame)frames[index]; int count = getSessionViewCount();// System.out.println(" num of frames before removal " + myFrameList.size()); myFrameList.remove(mif);// System.out.println(" num of frames left " + myFrameList.size()); desktop.remove(index); if (nextMIF != null) { try { nextMIF.setSelected(true); } catch (java.beans.PropertyVetoException e) { System.out.println(e.getMessage()); } } this.repaint(); }
log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); publiclog.debug(" num of frames left " + myFrameList.size()); voidlog.debug(" num of frames left " + myFrameList.size()); removeSessionView(Sessionlog.debug(" num of frames left " + myFrameList.size()); targetSession)log.debug(" num of frames left " + myFrameList.size()); {log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); intlog.debug(" num of frames left " + myFrameList.size()); indexlog.debug(" num of frames left " + myFrameList.size()); =log.debug(" num of frames left " + myFrameList.size()); getIndexOfSession(targetSession);log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); MyInternalFramelog.debug(" num of frames left " + myFrameList.size()); nextMIFlog.debug(" num of frames left " + myFrameList.size()); =log.debug(" num of frames left " + myFrameList.size()); getNextInternalFrame();log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); System.out.println("sessionlog.debug(" num of frames left " + myFrameList.size()); foundlog.debug(" num of frames left " + myFrameList.size()); andlog.debug(" num of frames left " + myFrameList.size()); closinglog.debug(" num of frames left " + myFrameList.size()); downlog.debug(" num of frames left " + myFrameList.size()); "log.debug(" num of frames left " + myFrameList.size()); +log.debug(" num of frames left " + myFrameList.size()); index);log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); targetSession.removeSessionListener(this);log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); targetSession.removeSessionJumpListener(this);log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); JInternalFrame[]log.debug(" num of frames left " + myFrameList.size()); frameslog.debug(" num of frames left " + myFrameList.size()); =log.debug(" num of frames left " + myFrameList.size()); (JInternalFrame[])desktop.getAllFrames();log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); MyInternalFramelog.debug(" num of frames left " + myFrameList.size()); miflog.debug(" num of frames left " + myFrameList.size()); =log.debug(" num of frames left " + myFrameList.size()); (MyInternalFrame)frames[index];log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); intlog.debug(" num of frames left " + myFrameList.size()); countlog.debug(" num of frames left " + myFrameList.size()); =log.debug(" num of frames left " + myFrameList.size()); getSessionViewCount();//log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); System.out.println("log.debug(" num of frames left " + myFrameList.size()); numlog.debug(" num of frames left " + myFrameList.size()); oflog.debug(" num of frames left " + myFrameList.size()); frameslog.debug(" num of frames left " + myFrameList.size()); beforelog.debug(" num of frames left " + myFrameList.size()); removallog.debug(" num of frames left " + myFrameList.size()); "log.debug(" num of frames left " + myFrameList.size()); +log.debug(" num of frames left " + myFrameList.size()); myFrameList.size());log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); myFrameList.remove(mif);//log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); System.out.println("log.debug(" num of frames left " + myFrameList.size()); numlog.debug(" num of frames left " + myFrameList.size()); oflog.debug(" num of frames left " + myFrameList.size()); frameslog.debug(" num of frames left " + myFrameList.size()); leftlog.debug(" num of frames left " + myFrameList.size()); "log.debug(" num of frames left " + myFrameList.size()); +log.debug(" num of frames left " + myFrameList.size()); myFrameList.size());log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); desktop.remove(index);log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); iflog.debug(" num of frames left " + myFrameList.size()); (nextMIFlog.debug(" num of frames left " + myFrameList.size()); !=log.debug(" num of frames left " + myFrameList.size()); null)log.debug(" num of frames left " + myFrameList.size()); {log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); trylog.debug(" num of frames left " + myFrameList.size()); {log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); nextMIF.setSelected(true);log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); }log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); catchlog.debug(" num of frames left " + myFrameList.size()); (java.beans.PropertyVetoExceptionlog.debug(" num of frames left " + myFrameList.size()); e)log.debug(" num of frames left " + myFrameList.size()); {log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); System.out.println(e.getMessage());log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); }log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); }log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); this.repaint();log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); log.debug(" num of frames left " + myFrameList.size()); }
10,417
public void removeSessionView(Session targetSession) { int index = getIndexOfSession(targetSession); MyInternalFrame nextMIF = getNextInternalFrame(); System.out.println("session found and closing down " + index); targetSession.removeSessionListener(this); targetSession.removeSessionJumpListener(this); JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames(); MyInternalFrame mif = (MyInternalFrame)frames[index]; int count = getSessionViewCount();// System.out.println(" num of frames before removal " + myFrameList.size()); myFrameList.remove(mif);// System.out.println(" num of frames left " + myFrameList.size()); desktop.remove(index); if (nextMIF != null) { try { nextMIF.setSelected(true); } catch (java.beans.PropertyVetoException e) { System.out.println(e.getMessage()); } } this.repaint(); }
public void removeSessionView(Session targetSession) { int index = getIndexOfSession(targetSession); MyInternalFrame nextMIF = getNextInternalFrame(); System.out.println("session found and closing down " + index); targetSession.removeSessionListener(this); targetSession.removeSessionJumpListener(this); JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames(); MyInternalFrame mif = (MyInternalFrame)frames[index]; int count = getSessionViewCount();// System.out.println(" num of frames before removal " + myFrameList.size()); myFrameList.remove(mif);// System.out.println(" num of frames left " + myFrameList.size()); desktop.remove(index); if (nextMIF != null) { try { nextMIF.setSelected(true); } catch (java.beans.PropertyVetoException e) { log.warn(e.getMessage()); } } this.repaint(); }
10,418
public DebugState process(KeyboardEvent event) { DebugState newState = this; switch (event.getKeyChar()) { case 'n': if (threadIterator.hasNext()) { final Thread t = (Thread) threadIterator.next(); newState = new ThreadState(this, t, index++); } break; case 'r': threadIterator = threads.values().iterator(); index = 1; break; default: return this; } event.consume(); return newState; }
public DebugState process(KeyboardEvent event) { DebugState newState = this; switch (event.getKeyChar()) { case 'n': if (threadIterator.hasNext()) { final Thread t = (Thread) threadIterator.next(); newState = new ThreadState(this, t, index++); } break; case 'r': threadIterator = threads.values().iterator(); index = 1; break; default: return this; } event.consume(); return newState; }
10,419
protected void addImpl(Component comp, Object constraints, int index) { // If we're adding in the initialization stage use super.add. // Otherwise pass the add onto the content pane. if (!initStageDone) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEnabled()) throw new Error("Do not add directly to JDialog." + " Use getContentPane().add instead."); getContentPane().add(comp, constraints, index); } }
protected void addImpl(Component comp, Object constraints, int index) { // If we're adding in the initialization stage use super.add. // Otherwise pass the add onto the content pane. if (!initStageDone) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEnabled()) throw new Error("Do not add directly to JDialog." + " Use getContentPane().add instead."); getContentPane().add(comp, constraints, index); } }
10,420
protected void addImpl(Component comp, Object constraints, int index) { // If we're adding in the initialization stage use super.add. // Otherwise pass the add onto the content pane. if (!initStageDone) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEnabled()) throw new Error("Do not add directly to JDialog." + " Use getContentPane().add instead."); getContentPane().add(comp, constraints, index); } }
protected void addImpl(Component comp, Object constraints, int index) { // If we're adding in the initialization stage use super.add. // Otherwise pass the add onto the content pane. if (!initStageDone) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEnabled()) throw new Error("Do not add directly to JDialog." + " Use getContentPane().add instead."); getContentPane().add(comp, constraints, index); } }
10,421
protected void dialogInit() { // FIXME: Do a check on GraphicsEnvironment.isHeadless() setLocale(JComponent.getDefaultLocale()); getRootPane(); // Will do set/create. invalidate(); // Now that initStageDone is true, adds and layouts apply to contentPane, // not top-level. initStageDone = true; }
protected void dialogInit() { // FIXME: Do a check on GraphicsEnvironment.isHeadless() setLocale(JComponent.getDefaultLocale()); getRootPane(); // Will do set/create. invalidate(); // Now that initStageDone is true, adds and layouts apply to contentPane, // not top-level. setRootPaneCheckingEnabled(true); }
10,422
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set top-level layout. Use" + " getConentPane().setLayout instead."); getContentPane().setLayout(manager); } else super.setLayout(manager); }
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set top-level layout. Use" + " getConentPane().setLayout instead."); getContentPane().setLayout(manager); } else super.setLayout(manager); }
10,423
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set top-level layout. Use" + " getConentPane().setLayout instead."); getContentPane().setLayout(manager); } else super.setLayout(manager); }
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set top-level layout. Use" + " getConentPane().setLayout instead."); getContentPane().setLayout(manager); } else super.setLayout(manager); }
10,424
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set top-level layout. Use" + " getConentPane().setLayout instead."); getContentPane().setLayout(manager); } else super.setLayout(manager); }
public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set top-level layout. Use" + " getConentPane().setLayout instead."); getContentPane().setLayout(manager); else super.setLayout(manager); }
10,425
public FileFilter() { }
public FileFilter() { }
10,427
public void startProduction (ImageConsumer ic) { if (!isConsumer(ic)) addConsumer (ic); Vector list = (Vector) consumers.clone (); try { // Create the input stream here rather than in the // ImageDecoder constructors so that exceptions cause // imageComplete to be called with an appropriate error // status. if (url != null) input = url.openStream(); else { if (filename != null) input = new FileInputStream (filename); else input = new ByteArrayInputStream (data, offset, length); } produce (list, input); } catch (Exception e) { for (int i = 0; i < list.size (); i++) { ImageConsumer ic2 = (ImageConsumer) list.elementAt (i); ic2.imageComplete (ImageConsumer.IMAGEERROR); } } }
public void startProduction (ImageConsumer ic) { if (!isConsumer(ic)) addConsumer(ic); Vector list = (Vector) consumers.clone (); try { // Create the input stream here rather than in the // ImageDecoder constructors so that exceptions cause // imageComplete to be called with an appropriate error // status. if (url != null) input = url.openStream(); else { if (filename != null) input = new FileInputStream (filename); else input = new ByteArrayInputStream (data, offset, length); } produce (list, input); } catch (Exception e) { for (int i = 0; i < list.size (); i++) { ImageConsumer ic2 = (ImageConsumer) list.elementAt (i); ic2.imageComplete (ImageConsumer.IMAGEERROR); } } }
10,429
public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); orb.setPort(PORT); orb.init(args, null); // Create the servant and register it with the ORB NamingContextExt namer = new Ext(new TransientContext()); orb.connect(namer, getDefaultKey()); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].endsWith("ORBInitialPort")) port = Integer.parseInt(args [ i + 1 ]); if (args [ i ].equals("-ior")) iorf = args [ i + 1 ]; } orb.setPort(port); // Storing the IOR reference. String ior = orb.object_to_string(namer); if (iorf != null) { FileOutputStream f = new FileOutputStream(iorf); PrintStream p = new PrintStream(f); p.print(ior); p.close(); } System.out.println("GNU Classpath, transient naming service. " + "Copyright (C) 2005 Free Software Foundation\n" + "This tool comes with ABSOLUTELY NO WARRANTY. " + "This is free software, and you are\nwelcome to " + "redistribute it under conditions, defined in " + "GNU Classpath license.\n\n" + ior ); new Thread() { public void run() { // wait for invocations from clients orb.run(); } }.start(); } catch (Exception e) { System.err.println("ERROR: " + e); e.printStackTrace(System.out); } }
public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); orb.setPort(PORT); orb.init(args, null); // Create the servant and register it with the ORB NamingContextExt namer = new Ext(new TransientContext()); orb.connect(namer, getDefaultKey()); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].endsWith("ORBInitialPort")) port = Integer.parseInt(args [ i + 1 ]); if (args [ i ].equals("-ior")) iorf = args [ i + 1 ]; } orb.setPort(port); // Storing the IOR reference. String ior = orb.object_to_string(namer); if (iorf != null) { FileOutputStream f = new FileOutputStream(iorf); PrintStream p = new PrintStream(f); p.print(ior); p.close(); } System.out.println("GNU Classpath, transient naming service. " + "Copyright (C) 2005 Free Software Foundation\n" + "This tool comes with ABSOLUTELY NO WARRANTY. " + "This is free software, and you are\nwelcome to " + "redistribute it under conditions, defined in " + "GNU Classpath license.\n\n" + ior ); new Thread() { public void run() { // wait for invocations from clients orb.run(); } }.start(); } catch (Exception e) { System.err.println("ERROR: " + e); e.printStackTrace(System.out); } }
10,435
public String getUnprocessedKeyStroked() { if(index >= length)// if (keyStrokes.length() == 0) return null; else {// return keyStrokes.toString(); String ks = keyStrokes.substring(index); keyStrokes.setLength(0); return ks; } }
publicStringgetUnprocessedKeyStroked(){if(index>=length)//if(keyStrokes.length()==0)returnnull;else{//returnkeyStrokes.toString();Stringks=keyStrokes.substring(index);keyStrokes.setLength(0);returnks;}}
10,437
public String getUnprocessedKeyStroked() { if(index >= length)// if (keyStrokes.length() == 0) return null; else {// return keyStrokes.toString(); String ks = keyStrokes.substring(index); keyStrokes.setLength(0); return ks; } }
public String getUnprocessedKeyStroked() { if(index >= length)// if (keyStrokes.length() == 0) return null; else {// return keyStrokes.toString(); String ks = keyStrokes.substring(index); keyStrokes.setLength(0); return ks; } }
10,438
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index + " len " + length ); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index + " len " + length ); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index + " len " + length ); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index + " len " + length ); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
10,439
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was incomplete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
10,440
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was incomplete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
10,441
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
10,442
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
10,443
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
publicStringnextKeyStroke(){Strings=null;booleangotOne=false;intstart=index;if(length>index){sb.setLength(0);charc=keyStrokes.charAt(index);switch(c){case'[':sb.append(c);index++;//weneedtothrowanerrorhereif(index>=length){System.out.println("mnemonickeywasincomplete:1"+"atposition"+index);}else{c=keyStrokes.charAt(index);if(c=='[')index++;else{while(!gotOne){if(c==']'){//didwefindanendingsb.append(c);index++;gotOne=true;}else{sb.append(c);index++;//weneedtothrowanerrorherebecausewedidnot//findanendingforthepotentialmnemonicif(index>=length){System.out.println("mnemonickeywasnotnotcompleteendingnotfound:2"+"atposition"+index);}c=keyStrokes.charAt(index);}}}}break;case']':index++;if(index>=length){System.out.println("mnemonickeywasnotnotcompleteendingnotfound:3"+"atposition"+index);}c=keyStrokes.charAt(index);if(c==']'){sb.append(c);index++;}else{System.out.println("mnemonickeywasnotcompletebeginningnotfound:4"+"atposition"+index);}break;default:sb.append(c);index++;break;}if(sb!=null){s=newString(sb);//System.out.println("nextbefore"+keyStrokes+""+start+""+index+""+length);keyStrokes.delete(start,index);index=0;length=keyStrokes.length();//System.out.println("nextbefore"+keyStrokes+""+start+""+index+""+length);}}//System.out.println("next"+keyStrokes);returns;}
10,444
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
public String nextKeyStroke() { String s = null; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need to throw an error here if(index >= length) { System.out.println(" mnemonic key was incomplete :1 " + "at position " + index); } else { c = keyStrokes.charAt(index); if(c == '[') index++; else { while(!gotOne) { if(c == ']') { // did we find an ending sb.append(c); index++; gotOne = true; } else { sb.append(c); index++; // we need to throw an error here because we did not // find an ending for the potential mnemonic if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :2 " + "at position " + index); } c = keyStrokes.charAt(index); } } } } break; case ']': index++; if(index >= length) { System.out.println( " mnemonic key was not not complete ending not found :3 " + "at position " + index); } c = keyStrokes.charAt(index); if(c == ']') { sb.append(c); index++; } else { System.out.println( " mnemonic key was not complete beginning not found :4 " + "at position " + index); } break; default: sb.append(c); index++; break; } if(sb != null) { s = new String(sb);// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); keyStrokes.delete(start,index); index = 0; length = keyStrokes.length();// System.out.println("next before "+ keyStrokes + " " + start + " " + index + " " + length); } }// System.out.println("next "+ keyStrokes); return s; }
10,445
public void setKeyStrokes (String strokes) { if (strokes != null) {// keyStrokes.setLength(0); keyStrokes.append(strokes);// System.out.println("set "+ keyStrokes);// index = 0; length = keyStrokes.length(); } else { keyStrokes = new StringBuffer(); sb = new StringBuffer(); index = 0; length = 0; } }
public void setKeyStrokes (String strokes) { if (strokes != null) {// keyStrokes.setLength(0); keyStrokes.append(strokes);// System.out.println("set "+ keyStrokes);// index = 0; length = keyStrokes.length(); } else { keyStrokes = new StringBuffer(); sb = new StringBuffer(); index = 0; length = 0; } }
10,446
public void setKeyStrokes (String strokes) { if (strokes != null) {// keyStrokes.setLength(0); keyStrokes.append(strokes);// System.out.println("set "+ keyStrokes);// index = 0; length = keyStrokes.length(); } else { keyStrokes = new StringBuffer(); sb = new StringBuffer(); index = 0; length = 0; } }
public void setKeyStrokes (String strokes) { if (strokes != null) {// keyStrokes.setLength(0); keyStrokes.append(strokes);// System.out.println("set "+ keyStrokes);// index = 0; length = strokes.length(); } else { keyStrokes = new StringBuffer(); sb = new StringBuffer(); index = 0; length = 0; } }
10,447
public void setKeyStrokes (String strokes) { if (strokes != null) {// keyStrokes.setLength(0); keyStrokes.append(strokes);// System.out.println("set "+ keyStrokes);// index = 0; length = keyStrokes.length(); } else { keyStrokes = new StringBuffer(); sb = new StringBuffer(); index = 0; length = 0; } }
public void setKeyStrokes (String strokes) { if (strokes != null) {// keyStrokes.setLength(0); keyStrokes.append(strokes);// System.out.println("set "+ keyStrokes);// index = 0; length = keyStrokes.length(); } else { keyStrokes = new StringBuffer(); sb = new StringBuffer(); index = 0; length = 0; } }
10,448
public synchronized void drawImageBuffer(Graphics2D gg2d,int x, int y, int width, int height) { /** * @todo this is a hack and should be fixed at the root of the problem */ if (gg2d == null) { System.out.println(" we got a null graphic object "); return; } //synchronized (lock) { gg2d.drawImage(bi.getSubimage(x,y,width,height),null,x,y); // tell waiting threads to wake up //lock.notifyAll(); //} }
synchronized (lock) { synchronized (lock) { synchronized (lock) { publicsynchronized (lock) { synchronizedsynchronized (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) { synchronized (lock) { /**synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { *synchronized (lock) { @todosynchronized (lock) { thissynchronized (lock) { issynchronized (lock) { asynchronized (lock) { hacksynchronized (lock) { andsynchronized (lock) { shouldsynchronized (lock) { besynchronized (lock) { fixedsynchronized (lock) { atsynchronized (lock) { thesynchronized (lock) { rootsynchronized (lock) { ofsynchronized (lock) { thesynchronized (lock) { problemsynchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { */synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { ifsynchronized (lock) { (gg2dsynchronized (lock) { ==synchronized (lock) { null)synchronized (lock) { {synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { System.out.println("synchronized (lock) { wesynchronized (lock) { gotsynchronized (lock) { asynchronized (lock) { nullsynchronized (lock) { graphicsynchronized (lock) { objectsynchronized (lock) { ");synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { return;synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { 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) { //synchronized (lock) { tellsynchronized (lock) { waitingsynchronized (lock) { threadssynchronized (lock) { tosynchronized (lock) { wakesynchronized (lock) { upsynchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { //lock.notifyAll();synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { synchronized (lock) { //}synchronized (lock) { synchronized (lock) { synchronized (lock) { }
10,450
public synchronized void drawImageBuffer(Graphics2D gg2d,int x, int y, int width, int height) { /** * @todo this is a hack and should be fixed at the root of the problem */ if (gg2d == null) { System.out.println(" we got a null graphic object "); return; } //synchronized (lock) { gg2d.drawImage(bi.getSubimage(x,y,width,height),null,x,y); // tell waiting threads to wake up //lock.notifyAll(); //} }
lock.notifyAll(); } public synchronized void drawImageBuffer(Graphics2D gg2d,int x, int y, int width, int height) {lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } /**lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } * @todo this is a hack and should be fixed at the root of the problemlock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } */lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } if (gg2d == null) {lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } System.out.println(" we got a null graphic object ");lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } return;lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } }lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } //synchronized (lock) {lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } gg2d.drawImage(bi.getSubimage(x,y,width,height),null,x,y);lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } // tell waiting threads to wake uplock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } //lock.notifyAll();lock.notifyAll(); } lock.notifyAll(); } lock.notifyAll(); } //}lock.notifyAll(); } }
10,451
public static boolean isJavaMIMEType (String name) { return false; }
public static boolean isJavaMIMEType (String name) { return (name != null && name.startsWith(GNU_JAVA_MIME_PREFIX)); }
10,456
private void closeSession() { vt.isOnSignoffScreen(); Object[] message = new Object[1]; message[0] = LangTool.getString("cs.message"); String[] options = {LangTool.getString("cs.optThis"), LangTool.getString("cs.optAll"), LangTool.getString("cs.optCancel")}; int result = JOptionPane.showOptionDialog( this.getParent(), // the parent that the dialog blocks message, // the dialog message array LangTool.getString("cs.title"), // the title of the dialog window JOptionPane.DEFAULT_OPTION, // option type JOptionPane.QUESTION_MESSAGE, // message type null, // optional icon, use null to use the default icon options, // options string array, will be made into buttons// options[0] // option that should be made into a default button ); if (result == 0) { closeMe(); } if (result == 1) { me.closingDown((Session)this); } }
private void closeSession() { Object[] message = new Object[1]; message[0] = LangTool.getString("cs.message"); String[] options = {LangTool.getString("cs.optThis"), LangTool.getString("cs.optAll"), LangTool.getString("cs.optCancel")}; int result = JOptionPane.showOptionDialog( this.getParent(), // the parent that the dialog blocks message, // the dialog message array LangTool.getString("cs.title"), // the title of the dialog window JOptionPane.DEFAULT_OPTION, // option type JOptionPane.QUESTION_MESSAGE, // message type null, // optional icon, use null to use the default icon options, // options string array, will be made into buttons// options[0] // option that should be made into a default button ); if (result == 0) { closeMe(); } if (result == 1) { me.closingDown((Session)this); } }
10,457
private void closeSession() { vt.isOnSignoffScreen(); Object[] message = new Object[1]; message[0] = LangTool.getString("cs.message"); String[] options = {LangTool.getString("cs.optThis"), LangTool.getString("cs.optAll"), LangTool.getString("cs.optCancel")}; int result = JOptionPane.showOptionDialog( this.getParent(), // the parent that the dialog blocks message, // the dialog message array LangTool.getString("cs.title"), // the title of the dialog window JOptionPane.DEFAULT_OPTION, // option type JOptionPane.QUESTION_MESSAGE, // message type null, // optional icon, use null to use the default icon options, // options string array, will be made into buttons// options[0] // option that should be made into a default button ); if (result == 0) { closeMe(); } if (result == 1) { me.closingDown((Session)this); } }
private void closeSession() { vt.isOnSignoffScreen(); Object[] message = new Object[1]; message[0] = LangTool.getString("cs.message"); String[] options = {LangTool.getString("cs.optThis"), LangTool.getString("cs.optAll"), LangTool.getString("cs.optCancel")}; int result = JOptionPane.showOptionDialog( this.getParent(), // the parent that the dialog blocks message, // the dialog message array LangTool.getString("cs.title"), // the title of the dialog window JOptionPane.DEFAULT_OPTION, // option type JOptionPane.QUESTION_MESSAGE, // message type null, // optional icon, use null to use the default icon options, // options string array, will be made into buttons// options[0] // option that should be made into a default button ); if (result == 0) { if (!isOnSignoffScreen()) { if (confirmClose()) { closeMe(); } } else { closeMe(); } } if (result == 1) { me.closingDown((Session)this); } }
10,458
private void doAttributes() { Frame parent = null; // if me is null then we must be called from an applet so we create // a new frame object. if (me == null) parent = new JFrame(); else parent = (Frame)me.getParentView((Session)this); SessionAttributes sa = new SessionAttributes(parent,sesConfig); Vector listeners = sesConfig.getSessionConfigListeners(); Enumeration e = listeners.elements(); while (e.hasMoreElements()) { sa.addPropertyChangeListener((Session)e.nextElement()); } sa.showIt(); listeners = sesConfig.getSessionConfigListeners(); e = listeners.elements(); while (e.hasMoreElements()) { sa.removePropertyChangeListener((Session)e.nextElement()); } getFocusForMe(); sa = null; }
private void doAttributes() { Frame parent = null; // if me is null then we must be called from an applet so we create // a new frame object. if (me == null) parent = new JFrame(); else parent = (Frame)me.getParentView((Session)this); SessionAttributes sa = new SessionAttributes(parent,sesConfig); Vector listeners = sesConfig.getSessionConfigListeners(); Enumeration e = listeners.elements(); while (e.hasMoreElements()) { sa.addPropertyChangeListener((Session)e.nextElement()); } sa.showIt(); listeners = sesConfig.getSessionConfigListeners(); e = listeners.elements(); while (e.hasMoreElements()) { sa.removePropertyChangeListener((Session)e.nextElement()); } getFocusForMe(); sa = null; }
10,459
private void doAttributes() { Frame parent = null; // if me is null then we must be called from an applet so we create // a new frame object. if (me == null) parent = new JFrame(); else parent = (Frame)me.getParentView((Session)this); SessionAttributes sa = new SessionAttributes(parent,sesConfig); Vector listeners = sesConfig.getSessionConfigListeners(); Enumeration e = listeners.elements(); while (e.hasMoreElements()) { sa.addPropertyChangeListener((Session)e.nextElement()); } sa.showIt(); listeners = sesConfig.getSessionConfigListeners(); e = listeners.elements(); while (e.hasMoreElements()) { sa.removePropertyChangeListener((Session)e.nextElement()); } getFocusForMe(); sa = null; }
private void doAttributes() { Frame parent = null; // if me is null then we must be called from an applet so we create // a new frame object. if (me == null) parent = new JFrame(); else parent = (Frame)me.getParentView((Session)this); SessionAttributes sa = new SessionAttributes(parent,sesConfig); Vector listeners = sesConfig.getSessionConfigListeners(); Enumeration e = listeners.elements(); while (e.hasMoreElements()) { sa.addPropertyChangeListener((Session)e.nextElement()); } sa.showIt(); listeners = sesConfig.getSessionConfigListeners(); e = listeners.elements(); while (e.hasMoreElements()) { sa.removePropertyChangeListener((Session)e.nextElement()); } getFocusForMe(); sa = null; }
10,460
private void doMeSpool() { try { org.tn5250j.spoolfile.SpoolExporter spooler = new org.tn5250j.spoolfile.SpoolExporter(vt, (Session)this); spooler.setVisible(true); } catch (NoClassDefFoundError ncdfe) { JOptionPane.showMessageDialog(this, LangTool.getString("messages.noAS400Toolbox"), "Error", JOptionPane.ERROR_MESSAGE,null); } }
private void doMeSpool() { try { org.tn5250j.spoolfile.SpoolExporter spooler = new org.tn5250j.spoolfile.SpoolExporter(vt, (Session)this); spooler.setVisible(true); } catch (NoClassDefFoundError ncdfe) { JOptionPane.showMessageDialog(this, LangTool.getString("messages.noAS400Toolbox"), "Error", JOptionPane.ERROR_MESSAGE,null); } }
10,461
public void onConfigChanged(SessionConfigEvent changeEvent) { }
public void onConfigChanged(SessionConfigEvent pce) { }
10,463
public static float[] RGBtoHSB(int red, int green, int blue, float array[]) { if (array == null) array = new float[3]; // Calculate brightness. int min; int max; if (red < green) { min = red; max = green; } else { min = green; max = red; } if (blue > max) max = blue; else if (blue < min) min = blue; array[2] = max / 255f; // Calculate saturation. if (max == 0) array[1] = 0; else array[1] = (max - min) / max; // Calculate hue. if (array[1] == 0) array[0] = 0; else { float delta = (max - min) * 6; if (red == max) array[0] = (green - blue) / delta; else if (green == max) array[0] = 1 / 3 + (blue - red) / delta; else array[0] = 2 / 3 + (red - green) / delta; if (array[0] < 0) array[0]++; } return array; }
public static float[] RGBtoHSB(int red, int green, int blue, float array[]) { if (array == null) array = new float[3]; // Calculate brightness. int min; int max; if (red < green) { min = red; max = green; } else { min = green; max = red; } if (blue > max) max = blue; else if (blue < min) min = blue; array[2] = max / 255f; // Calculate saturation. if (max == 0) array[1] = 0; else array[1] = (max - min) / max; // Calculate hue. if (array[1] == 0) array[0] = 0; else { float delta = (max - min) * 6; if (red == max) array[0] = (green - blue) / delta; else if (green == max) array[0] = 1f / 3 + (blue - red) / delta; else array[0] = 2 / 3 + (red - green) / delta; if (array[0] < 0) array[0]++; } return array; }
10,473
public static float[] RGBtoHSB(int red, int green, int blue, float array[]) { if (array == null) array = new float[3]; // Calculate brightness. int min; int max; if (red < green) { min = red; max = green; } else { min = green; max = red; } if (blue > max) max = blue; else if (blue < min) min = blue; array[2] = max / 255f; // Calculate saturation. if (max == 0) array[1] = 0; else array[1] = (max - min) / max; // Calculate hue. if (array[1] == 0) array[0] = 0; else { float delta = (max - min) * 6; if (red == max) array[0] = (green - blue) / delta; else if (green == max) array[0] = 1 / 3 + (blue - red) / delta; else array[0] = 2 / 3 + (red - green) / delta; if (array[0] < 0) array[0]++; } return array; }
public static float[] RGBtoHSB(int red, int green, int blue, float array[]) { if (array == null) array = new float[3]; // Calculate brightness. int min; int max; if (red < green) { min = red; max = green; } else { min = green; max = red; } if (blue > max) max = blue; else if (blue < min) min = blue; array[2] = max / 255f; // Calculate saturation. if (max == 0) array[1] = 0; else array[1] = (max - min) / max; // Calculate hue. if (array[1] == 0) array[0] = 0; else { float delta = (max - min) * 6; if (red == max) array[0] = (green - blue) / delta; else if (green == max) array[0] = 1 / 3 + (blue - red) / delta; else array[0] = 2f / 3 + (red - green) / delta; if (array[0] < 0) array[0]++; } return array; }
10,474
public JButton() { this(null, null); }
public JButton() { this(null, null); }
10,475
protected void configurePropertiesFromAction(Action a) { // Factory method which sets the AbstractButton's properties according to // values from the Action instance. super.configurePropertiesFromAction(a); }
protected void configurePropertiesFromAction(Action a) { // Factory method which sets the AbstractButton's properties according to // values from the Action instance. super.configurePropertiesFromAction(a); }
10,476
protected void configurePropertiesFromAction(Action a) { // Factory method which sets the AbstractButton's properties according to // values from the Action instance. super.configurePropertiesFromAction(a); }
protected void configurePropertiesFromAction(Action a) { // Factory method which sets the AbstractButton's properties according to // values from the Action instance. super.configurePropertiesFromAction(a); }
10,477
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJButton(); return accessibleContext; }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJButton(); return accessibleContext; }
10,478
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJButton(); return accessibleContext; }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJButton(); return accessibleContext; }
10,479
public Object[] getSelectedObjects() { return null; }
public Object[] getSelectedObjects() { return null; }
10,480
public String getUIClassID() { // Returns a string that specifies the name of the L&F class that renders // this component. return "ButtonUI"; }
public String getUIClassID() { // Returns a string that specifies the name of the L&F class that renders // this component. return "ButtonUI"; }
10,481
public String getUIClassID() { // Returns a string that specifies the name of the L&F class that renders // this component. return "ButtonUI"; }
public String getUIClassID() { // Returns a string that specifies the name of the L&F class that renders // this component. return "ButtonUI"; }
10,482
public boolean isDefaultButton() { // Returns whether or not this button is the default button on the // RootPane. return is_def; }
public boolean isDefaultButton() { // Returns whether or not this button is the default button on the // RootPane. return is_def; }
10,483
public boolean isDefaultButton() { // Returns whether or not this button is the default button on the // RootPane. return is_def; }
public boolean isDefaultButton() { // Returns whether or not this button is the default button on the // RootPane. return is_def; }
10,484
public boolean isDefaultCapable() { // Returns whether or not this button is capable of being the default // button on the RootPane. return def; }
public boolean isDefaultCapable() { // Returns whether or not this button is capable of being the default // button on the RootPane. return def; }
10,485
public boolean isDefaultCapable() { // Returns whether or not this button is capable of being the default // button on the RootPane. return def; }
public boolean isDefaultCapable() { // Returns whether or not this button is capable of being the default // button on the RootPane. return def; }
10,486
protected String paramString() { String superParam = super.paramString(); // 41 is the maximum number of chars which may be needed. StringBuffer sb = new StringBuffer(41); sb.append(",defaultButton=").append(is_def); sb.append(",defaultCapable=").append(def); return superParam + sb.toString(); }
protected String paramString() { String superParam = super.paramString(); // 41 is the maximum number of chars which may be needed. StringBuffer sb = new StringBuffer(41); sb.append(",defaultButton=").append(is_def); sb.append(",defaultCapable=").append(def); return superParam + sb.toString(); }
10,487
protected String paramString() { String superParam = super.paramString(); // 41 is the maximum number of chars which may be needed. StringBuffer sb = new StringBuffer(41); sb.append(",defaultButton=").append(is_def); sb.append(",defaultCapable=").append(def); return superParam + sb.toString(); }
protected String paramString() { String superParam = super.paramString(); // 41 is the maximum number of chars which may be needed. StringBuffer sb = new StringBuffer(41); sb.append(",defaultButton=").append(is_def); sb.append(",defaultCapable=").append(def); return superParam + sb.toString(); }
10,488
public void removeNotify() { }
public void removeNotify() { }
10,489
public void updateUI() { setUI((ButtonUI) UIManager.getUI(this)); }
public void updateUI() { setUI((ButtonUI) UIManager.getUI(this)); }
10,490
public void updateUI() { setUI((ButtonUI) UIManager.getUI(this)); }
public void updateUI() { setUI((ButtonUI) UIManager.getUI(this)); }
10,491
public void closeFrame(JInternalFrame frame) { Container c = frame.getParent(); frame.doDefaultCloseAction(); if (c != null) { if (frame.isIcon()) c.remove(frame.getDesktopIcon()); else c.remove(frame); c.repaint(); } }
public void closeFrame(JInternalFrame frame) { Container c = frame.getParent(); if (c != null) { if (frame.isIcon()) c.remove(frame.getDesktopIcon()); else c.remove(frame); c.repaint(); } }
10,492
public void endDraggingFrame(JComponent component) { if (currentDragMode == JDesktopPane.OUTLINE_DRAG_MODE) { setBoundsForFrame((JInternalFrame) component, dragCache.x, dragCache.y, dragCache.width, dragCache.height); pane = null; dragCache = null; } component.repaint(); }
public void endDraggingFrame(JComponent component) { if (currentDragMode == JDesktopPane.OUTLINE_DRAG_MODE) { setBoundsForFrame((JInternalFrame) component, dragCache.x, dragCache.y, dragCache.width, dragCache.height); pane = null; dragCache = null; component.repaint(); }
10,493
public void endResizingFrame(JComponent component) { if (currentDragMode == JDesktopPane.OUTLINE_DRAG_MODE) { setBoundsForFrame((JInternalFrame) component, dragCache.x, dragCache.y, dragCache.width, dragCache.height); pane = null; dragCache = null; } component.repaint(); }
public void endResizingFrame(JComponent component) { if (currentDragMode == JDesktopPane.OUTLINE_DRAG_MODE) { setBoundsForFrame((JInternalFrame) component, dragCache.x, dragCache.y, dragCache.width, dragCache.height); pane = null; dragCache = null; component.repaint(); }
10,495
public void setBoundsForFrame(JComponent component, int newX, int newY, int newWidth, int newHeight) { component.setBounds(newX, newY, newWidth, newHeight); component.revalidate(); // If not null, I'd rather repaint the parent if (component.getParent() != null) component.getParent().repaint(); else component.repaint(); }
public void setBoundsForFrame(JComponent component, int newX, int newY, int newWidth, int newHeight) { component.setBounds(newX, newY, newWidth, newHeight); component.revalidate(); // If not null, I'd rather repaint the parent if (component.getParent() != null) component.getParent().repaint(); else component.repaint(); }
10,497
public Rectangle getBounds(TreePath value0, Rectangle value1) { return null; // TODO } // getBounds()
public Rectangle getBounds(TreePath value0, Rectangle value1) { return null; // TODO } // getBounds()
10,498
public Rectangle getBounds(TreePath value0, Rectangle value1) { return null; // TODO } // getBounds()
public Rectangle getBounds(TreePath value0, Rectangle value1) { return null; // TODO } // getBounds()
10,499
public boolean getExpandedState(TreePath value0) { return false; // TODO } // getExpandedState()
public boolean getExpandedState(TreePath value0) { return false; // TODO } // getExpandedState()
10,500
public boolean getExpandedState(TreePath value0) { return false; // TODO } // getExpandedState()
public boolean getExpandedState(TreePath value0) { return false; // TODO } // getExpandedState()
10,501
public TreePath getPathClosestTo(int value0, int value1) { return null; // TODO } // getPathClosestTo()
public TreePath getPathClosestTo(int value0, int value1) { return null; // TODO } // getPathClosestTo()
10,502
public TreePath getPathClosestTo(int value0, int value1) { return null; // TODO } // getPathClosestTo()
public TreePath getPathClosestTo(int value0, int value1) { return null; // TODO } // getPathClosestTo()
10,503
public TreePath getPathForRow(int value0) { return null; // TODO } // getPathForRow()
public TreePath getPathForRow(int value0) { return null; // TODO } // getPathForRow()
10,504
public TreePath getPathForRow(int value0) { return null; // TODO } // getPathForRow()
public TreePath getPathForRow(int value0) { return null; // TODO } // getPathForRow()
10,505
public int getPreferredHeight() { return 0; // TODO } // getPreferredHeight()
public int getPreferredHeight() { return 0; // TODO } // getPreferredHeight()
10,506
public int getPreferredHeight() { return 0; // TODO } // getPreferredHeight()
public int getPreferredHeight() { return 0; // TODO } // getPreferredHeight()
10,507
public int getPreferredWidth(Rectangle value0) { return 0; // TODO } // getPreferredWidth()
public int getPreferredWidth(Rectangle value0) { return 0; // TODO } // getPreferredWidth()
10,508
public int getPreferredWidth(Rectangle value0) { return 0; // TODO } // getPreferredWidth()
public int getPreferredWidth(Rectangle value0) { return 0; // TODO } // getPreferredWidth()
10,509
public int getRowCount() { return 0; // TODO } // getRowCount()
public int getRowCount() { return 0; // TODO } // getRowCount()
10,510
public int getRowCount() { return 0; // TODO } // getRowCount()
public int getRowCount() { return 0; // TODO } // getRowCount()
10,511
public int getRowForPath(TreePath value0) { return 0; // TODO } // getRowForPath()
public int getRowForPath(TreePath value0) { return 0; // TODO } // getRowForPath()
10,512
public int getRowForPath(TreePath value0) { return 0; // TODO } // getRowForPath()
public int getRowForPath(TreePath value0) { return 0; // TODO } // getRowForPath()
10,513
public int getVisibleChildCount(TreePath value0) { return 0; // TODO } // getVisibleChildCount()
public int getVisibleChildCount(TreePath value0) { return 0; // TODO } // getVisibleChildCount()
10,514
public int getVisibleChildCount(TreePath value0) { return 0; // TODO } // getVisibleChildCount()
public int getVisibleChildCount(TreePath value0) { return 0; // TODO } // getVisibleChildCount()
10,515
public Enumeration getVisiblePathsFrom(TreePath value0) { return null; // TODO } // getVisiblePathsFrom()
public Enumeration getVisiblePathsFrom(TreePath value0) { return null; // TODO } // getVisiblePathsFrom()
10,516
public Enumeration getVisiblePathsFrom(TreePath value0) { return null; // TODO } // getVisiblePathsFrom()
public Enumeration getVisiblePathsFrom(TreePath value0) { return null; // TODO } // getVisiblePathsFrom()
10,517
public void invalidatePathBounds(TreePath value0) { // TODO } // invalidatePathBounds()
public void invalidatePathBounds(TreePath value0) { // TODO } // invalidatePathBounds()
10,518
public void invalidatePathBounds(TreePath value0) { // TODO } // invalidatePathBounds()
public void invalidatePathBounds(TreePath value0) { // TODO } // invalidatePathBounds()
10,519
public void invalidateSizes() { // TODO } // invalidateSizes()
public void invalidateSizes() { // TODO } // invalidateSizes()
10,520