bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
protected void dragTo(Point position, Point origin) { int loc = areaOfClick(origParent, SwingUtilities.convertPoint(toolBar, position, origParent)); if (loc != -1) { dragWindow.setBorderColor(dockingBorderColor); dragWindow....
protected void dragTo(Point position, Point origin) { int loc = areaOfClick(origParent, SwingUtilities.convertPoint(toolBar, position, origParent)); if (loc != -1) { dragWindow.setBorderColor(dockingBorderColor); dragWindow....
507
protected void floatAt(Point position, Point origin) { Point p = new Point(position); int aoc = areaOfClick(origParent, SwingUtilities.convertPoint(toolBar, p, origParent)); Container oldParent = toolBar.getParent(); oldParent.remove(toolBar); oldParent.doLayout(); oldP...
protected void floatAt(Point position, Point origin) { Point p = new Point(position); int aoc = areaOfClick(origParent, SwingUtilities.convertPoint(toolBar, p, origParent)); Container oldParent = toolBar.getParent(); oldParent.remove(toolBar); oldParent.doLayout(); oldP...
508
protected void floatAt(Point position, Point origin) { Point p = new Point(position); int aoc = areaOfClick(origParent, SwingUtilities.convertPoint(toolBar, p, origParent)); Container oldParent = toolBar.getParent(); oldParent.remove(toolBar); oldParent.doLayout(); oldP...
protected void floatAt(Point position, Point origin) { Point p = new Point(position); int aoc = areaOfClick(origParent, SwingUtilities.convertPoint(toolBar, p, origParent)); Container oldParent = toolBar.getParent(); oldParent.remove(toolBar); oldParent.doLayout(); oldP...
509
public Color getDockingColor() { return dockingColor; }
public Color getDockingColor() { return dockingColor; }
510
public Color getFloatingColor() { return floatingColor; }
public Color getFloatingColor() { return floatingColor; }
511
public Dimension getMaximumSize(JComponent c) { return getPreferredSize(c); }
public Dimension getMaximumSize(JComponent c) { return getPreferredSize(c); }
512
public Dimension getMaximumSize(JComponent c) { return getPreferredSize(c); }
public Dimension getMaximumSize(JComponent c) { return getPreferredSize(c); }
513
public Dimension getMinimumSize(JComponent c) { return getPreferredSize(c); }
public Dimension getMinimumSize(JComponent c) { return getPreferredSize(c); }
514
public Dimension getMinimumSize(JComponent c) { return getPreferredSize(c); }
public Dimension getMinimumSize(JComponent c) { return getPreferredSize(c); }
515
protected void installComponents() { floatFrame = (Window) createFloatingWindow(toolBar); dragWindow = createDragWindow(toolBar); cachedBounds = toolBar.getPreferredSize(); cachedOrientation = toolBar.getOrientation(); nonRolloverBorder = createNonRolloverBorder(); rolloverBorder = createRollov...
protected void installComponents() { floatFrame = (Window) createFloatingWindow(toolBar); dragWindow = createDragWindow(toolBar); cachedBounds = toolBar.getPreferredSize(); cachedOrientation = toolBar.getOrientation(); nonRolloverBorder = createNonRolloverBorder(); rolloverBorder = createRollov...
516
protected void installComponents() { floatFrame = (Window) createFloatingWindow(toolBar); dragWindow = createDragWindow(toolBar); cachedBounds = toolBar.getPreferredSize(); cachedOrientation = toolBar.getOrientation(); nonRolloverBorder = createNonRolloverBorder(); rolloverBorder = createRollov...
protected void installComponents() { floatFrame = (Window) createFloatingWindow(toolBar); dragWindow = createDragWindow(toolBar); cachedBounds = toolBar.getPreferredSize(); cachedOrientation = toolBar.getOrientation(); nonRolloverBorder = createNonRolloverBorder(); rolloverBorder = createRollov...
517
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); toolBar.setBorder(new ToolBarBorder()); toolBar.setBackground(defaults.getColor("ToolBar.background")); toolBar.setForeground(defaults.getColor("ToolBar.foreground")); toolBar.setFont(defaults.getFont("Too...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); toolBar.setBorder(new ToolBarBorder()); toolBar.setBackground(defaults.getColor("ToolBar.background")); toolBar.setForeground(defaults.getColor("ToolBar.foreground")); toolBar.setFont(defaults.getFont("Too...
518
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); toolBar.setBorder(new ToolBarBorder()); toolBar.setBackground(defaults.getColor("ToolBar.background")); toolBar.setForeground(defaults.getColor("ToolBar.foreground")); toolBar.setFont(defaults.getFont("Too...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); toolBar.setBorder(new ToolBarBorder()); toolBar.setBackground(defaults.getColor("ToolBar.background")); toolBar.setForeground(defaults.getColor("ToolBar.foreground")); toolBar.setFont(defaults.getFont("Too...
519
protected void installKeyboardActions() { // FIXME: implement. }
protected void installKeyboardActions() { // FIXME: implement. }
520
protected void installKeyboardActions() { // FIXME: implement. }
protected void installKeyboardActions() { // FIXME: implement. }
521
protected void installListeners(JToolBar toolbar) { dockingListener = createDockingListener(); toolBar.addMouseListener(dockingListener); toolBar.addMouseMotionListener(dockingListener); propertyListener = createPropertyListener(); toolBar.addPropertyChangeListener(propertyListener); toolBarCon...
protected void installListeners(JToolBar toolbar) { dockingListener = createDockingListener(); toolBar.addMouseListener(dockingListener); toolBar.addMouseMotionListener(dockingListener); propertyListener = createPropertyListener(); toolBar.addPropertyChangeListener(propertyListener); toolBarCon...
522
protected void installNonRolloverBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToNonRollover(components[i]); }
protected void installNonRolloverBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToNonRollover(components[i]); }
523
protected void installNonRolloverBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToNonRollover(components[i]); }
protected void installNonRolloverBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToNonRollover(components[i]); }
524
protected void installNormalBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToNormal(components[i]); }
protected void installNormalBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToNormal(components[i]); }
525
protected void installNormalBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToNormal(components[i]); }
protected void installNormalBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToNormal(components[i]); }
526
protected void installRolloverBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToRollover(components[i]); }
protected void installRolloverBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToRollover(components[i]); }
527
protected void installRolloverBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToRollover(components[i]); }
protected void installRolloverBorders(JComponent c) { Component[] components = toolBar.getComponents(); for (int i = 0; i < components.length; i++) setBorderToRollover(components[i]); }
528
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JToolBar) { toolBar = (JToolBar) c; toolBar.setOpaque(true); installDefaults(); installComponents(); installListeners(toolBar); installKeyboardActions(); } }
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JToolBar) { toolBar = (JToolBar) c; toolBar.setOpaque(true); installDefaults(); installComponents(); installListeners(toolBar); installKeyboardActions(); } }
529
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JToolBar) { toolBar = (JToolBar) c; toolBar.setOpaque(true); installDefaults(); installComponents(); installListeners(toolBar); installKeyboardActions(); } }
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JToolBar) { toolBar = (JToolBar) c; toolBar.setOpaque(true); installDefaults(); installComponents(); installListeners(toolBar); installKeyboardActions(); } }
530
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JToolBar) { toolBar = (JToolBar) c; toolBar.setOpaque(true); installDefaults(); installComponents(); installListeners(toolBar); installKeyboardActions(); } }
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JToolBar) { toolBar = (JToolBar) c; toolBar.setOpaque(true); installDefaults(); installComponents(); installListeners(toolBar); installKeyboardActions(); } }
531
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JToolBar) { toolBar = (JToolBar) c; toolBar.setOpaque(true); installDefaults(); installComponents(); installListeners(toolBar); installKeyboardActions(); } }
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JToolBar) { toolBar = (JToolBar) c; toolBar.setOpaque(true); installDefaults(); installComponents(); installListeners(toolBar); installKeyboardActions(); } }
532
public boolean isFloating() { return floatFrame.isVisible(); }
public boolean isFloating() { return floatFrame.isVisible(); }
533
public boolean isFloating() { return floatFrame.isVisible(); }
public boolean isFloating() { return floatFrame.isVisible(); }
534
public boolean isRolloverBorders() { return toolBar.isRollover(); }
public boolean isRolloverBorders() { return toolBar.isRollover(); }
535
public boolean isRolloverBorders() { return toolBar.isRollover(); }
public boolean isRolloverBorders() { return toolBar.isRollover(); }
536
protected void navigateFocusedComp(int direction) { // FIXME: Implement. }
protected void navigateFocusedComp(int direction) { // FIXME: Implement. }
537
protected void navigateFocusedComp(int direction) { // FIXME: Implement. }
protected void navigateFocusedComp(int direction) { // FIXME: Implement. }
538
protected void setBorderToNonRollover(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; b.setRolloverEnabled(false); b.setBorder(nonRolloverBorder); } }
protected void setBorderToNonRollover(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; b.setRolloverEnabled(false); b.setBorder(nonRolloverBorder); } }
539
protected void setBorderToNonRollover(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; b.setRolloverEnabled(false); b.setBorder(nonRolloverBorder); } }
protected void setBorderToNonRollover(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; b.setRolloverEnabled(false); b.setBorder(nonRolloverBorder); } }
540
protected void setBorderToNormal(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; Border border = (Border) borders.get(b); b.setBorder(border); } }
protected void setBorderToNormal(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; Border border = (Border) borders.get(b); b.setBorder(border); } }
541
protected void setBorderToNormal(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; Border border = (Border) borders.get(b); b.setBorder(border); } }
protected void setBorderToNormal(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; Border border = (Border) borders.get(b); b.setBorder(border); } }
542
protected void setBorderToRollover(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; b.setRolloverEnabled(true); b.setBorder(rolloverBorder); } }
protected void setBorderToRollover(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; b.setRolloverEnabled(true); b.setBorder(rolloverBorder); } }
543
protected void setBorderToRollover(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; b.setRolloverEnabled(true); b.setBorder(rolloverBorder); } }
protected void setBorderToRollover(Component c) { if (c instanceof JButton) { JButton b = (JButton) c; b.setRolloverEnabled(true); b.setBorder(rolloverBorder); } }
544
public void setDockingColor(Color c) { dockingColor = c; }
public void setDockingColor(Color c) { dockingColor = c; }
545
public void setFloatingColor(Color c) { floatingColor = c; }
public void setFloatingColor(Color c) { floatingColor = c; }
546
public void setFloatingColor(Color c) { floatingColor = c; }
public void setFloatingColor(Color c) { floatingColor = c; }
547
protected void uninstallComponents() { installNormalBorders(toolBar); borders = null; rolloverBorder = null; nonRolloverBorder = null; cachedBounds = null; floatFrame = null; dragWindow = null; }
protected void uninstallComponents() { installNormalBorders(toolBar); borders = null; rolloverBorder = null; nonRolloverBorder = null; cachedBounds = null; floatFrame = null; dragWindow = null; }
548
protected void uninstallDefaults() { toolBar.setBackground(null); toolBar.setForeground(null); toolBar.setFont(null); dockingBorderColor = null; dockingColor = null; floatingBorderColor = null; floatingColor = null; }
protected void uninstallDefaults() { toolBar.setBackground(null); toolBar.setForeground(null); toolBar.setFont(null); dockingBorderColor = null; dockingColor = null; floatingBorderColor = null; floatingColor = null; }
549
protected void uninstallKeyboardActions() { // FIXME: implement. }
protected void uninstallKeyboardActions() { // FIXME: implement. }
550
protected void uninstallKeyboardActions() { // FIXME: implement. }
protected void uninstallKeyboardActions() { // FIXME: implement. }
551
protected void uninstallListeners() { toolBar.removeFocusListener(toolBarFocusListener); toolBarFocusListener = null; floatFrame.removeWindowListener(windowListener); windowListener = null; toolBar.removeContainerListener(toolBarContListener); toolBarContListener = null; toolBar.removeMouseMot...
protected void uninstallListeners() { toolBar.removeFocusListener(toolBarFocusListener); toolBarFocusListener = null; floatFrame.removeWindowListener(windowListener); windowListener = null; toolBar.removeContainerListener(toolBarContListener); toolBarContListener = null; toolBar.removeMouseMot...
552
protected void uninstallListeners() { toolBar.removeFocusListener(toolBarFocusListener); toolBarFocusListener = null; floatFrame.removeWindowListener(windowListener); windowListener = null; toolBar.removeContainerListener(toolBarContListener); toolBarContListener = null; toolBar.removeMouseMot...
protected void uninstallListeners() { toolBar.removeFocusListener(toolBarFocusListener); toolBarFocusListener = null; floatFrame.removeWindowListener(windowListener); windowListener = null; toolBar.removeContainerListener(toolBarContListener); toolBarContListener = null; toolBar.removeMouseMot...
553
public void uninstallUI(JComponent c) { uninstallKeyboardActions(); uninstallListeners(); uninstallComponents(); uninstallDefaults(); toolBar = null; }
public void uninstallUI(JComponent c) { uninstallKeyboardActions(); uninstallListeners(); uninstallComponents(); uninstallDefaults(); toolBar = null; }
554
public Window(Frame owner) { this (owner, owner.getGraphicsConfiguration ()); }
Window() { this (owner, owner.getGraphicsConfiguration ()); }
555
public Window(Frame owner) { this (owner, owner.getGraphicsConfiguration ()); }
public Window(Frame owner) { visible = false; focusCycleRoot = true; setLayout(new BorderLayout()); addWindowFocusListener (new WindowAdapter () { public void windowGainedFocus (WindowEvent event) { if (windowFocusOwner != null) { EventQueue eq = Toolkit.getDefaultToolkit ().getSystemEventQueue (); synchroni...
556
public void drawRect(int x, int y, int width, int height){ int x1 = x; int y1 = y; int x2 = x + width; int y2 = y + height; drawLine(x1, y1, x2, y1); drawLine(x2, y1, x2, y2); drawLine(x2, y2, x1, y2); drawLine(x1, y2, x1, y1);}
public void drawRect(int x, int y, int width, int height){ int x1 = x; int y1 = y; int x2 = x + width; int y2 = y + height; drawLine(x1, y1, x2, y1); drawLine(x2, y1, x2, y2); drawLine(x2, y2, x1, y2); drawLine(x1, y2, x1, y1);}
557
public void drawRect(int x, int y, int width, int height){ int x1 = x; int y1 = y; int x2 = x + width; int y2 = y + height; drawLine(x1, y1, x2, y1); drawLine(x2, y1, x2, y2); drawLine(x2, y2, x1, y2); drawLine(x1, y2, x1, y1);}
public void drawRect(int x, int y, int width, int height){ int x1 = x; int y1 = y; int x2 = x + width; int y2 = y + height; drawLine(x1, y1, x2, y1); drawLine(x2, y1, x2, y2); drawLine(x2, y2, x1, y2); drawLine(x1, y2, x1, y1);}
558
void paintBorder(Component c, Graphics g, int x, int y, int width, int height);
void paintBorder(Component c, Graphics g, int x, int y, int width, int height);
559
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { switch (etchType) { case RAISED: paintEtchedBorder(g, x, y, width, height, getHighlightColor(c), getShadowColor(c)); break; case LOWERED: paintEtchedBord...
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { switch (etchType) { case RAISED: paintEtchedBorder(g, x, y, width, height, getHighlightColor(c), getShadowColor(c)); break; case LOWERED: paintEtchedBord...
560
public static Point convertPoint(Component source, Point aPoint, Component destination) { return convertPoint(source, aPoint.x, aPoint.y, destination); }
public static Point convertPoint(Component source, int x, int y, Component destination) { return convertPoint(source, aPoint.x, aPoint.y, destination); }
561
public static Point convertPoint(Component source, Point aPoint, Component destination) { return convertPoint(source, aPoint.x, aPoint.y, destination); }
public static Point convertPoint(Component source, Point aPoint, Component destination) { Point pt = new Point(x, y); if (source == null && destination == null) return pt; if (source == null) source = getRoot(destination); if (destination == null) destination = getRoot(source); if (source.isShowing() && desti...
562
public SecurityException(String s) { super(s); }
public SecurityException(String s) { super(s); }
563
public RuntimeException(String s) { super(s); }
public RuntimeException() { super(s); }
564
public RuntimeException(String s) { super(s); }
public RuntimeException(String s) { super(s); }
565
public void setOrientation(int orientation) { if (orientation != VERTICAL && orientation != HORIZONTAL) throw new IllegalArgumentException("orientation must be one of VERTICAL or HORIZONTAL"); if (this.orientation != orientation) { int oldOrientation = this.orientation; this.orientation = orientation...
public void setOrientation(int orientation) { if (orientation != VERTICAL && orientation != HORIZONTAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); if (this.orientation != orientation) { int oldOrientation = this.orientation; this.orientation = orientation; firePr...
566
public DefaultBoundedRangeModel(int value, int extent, int minimum, int maximum) { if (!(minimum <= value && extent >= 0 && (value + extent) <= maximum)) throw new IllegalArgumentException(); this.value = value; this.extent = extent; this.minimum = minimum; this.m...
public DefaultBoundedRangeModel(int value, int extent, int minimum, int maximum) { if (!(minimum <= value && extent >= 0 && (value + extent) <= maximum)) throw new IllegalArgumentException(); this.value = value; this.extent = extent; this.minimum = minimum; this.m...
567
public DefaultBoundedRangeModel(int value, int extent, int minimum, int maximum) { if (!(minimum <= value && extent >= 0 && (value + extent) <= maximum)) throw new IllegalArgumentException(); this.value = value; this.extent = extent; this.minimum = minimum; this.m...
public DefaultBoundedRangeModel(int value, int extent, int minimum, int maximum) { if (!(minimum <= value && extent >= 0 && (value + extent) <= maximum)) throw new IllegalArgumentException(); this.value = value; this.extent = extent; this.minimum = minimum; this.m...
568
private void doPopup (MouseEvent me) { JMenuItem menuItem; Action action; popup = new JPopupMenu(); final Gui5250 g = this; JMenuItem mi; final int pos = screen.getPosFromView(me.getX(),me.getY()); if (!rubberband.isAreaSelected() && screen.isInField(pos,false) ) { action =...
private void doPopup (MouseEvent me) { JMenuItem menuItem; Action action; popup = new JPopupMenu(); final Gui5250 g = this; JMenuItem mi; final int pos = screen.getPosFromView(me.getX(),me.getY()); if (!rubberband.isAreaSelected() && screen.isInField(pos,false) ) { action =...
569
public void actionPerformed(ActionEvent e) { screen.copyMe(); getFocusForMe(); }
public void actionPerformed(ActionEvent e) { screen.pasteMe(false); getFocusForMe(); }
570
BorderLayout(){ this(0,0);}
BorderLayout(){ this(0,0);}
571
BorderLayout(){ this(0,0);}
BorderLayout(){ this(0,0);}
572
public JPanel() { this(new FlowLayout(), true); }
public JPanel() { this(new FlowLayout(), true); }
573
public void setBounds(int x, int y, int width, int height) { reshape (x, y, width, height); }
public void setBounds(Rectangle r) { reshape (x, y, width, height); }
574
public void setBounds(int x, int y, int width, int height) { reshape (x, y, width, height); }
public void setBounds(int x, int y, int width, int height) { reshape (x, y, width, height); }
575
protected final Point getEndPoint() { if(this.endPoint == null) { setEndPoint(new Point(0,0)); } return this.endPoint; }
protected Point getEndPoint() { if(this.endPoint == null) { setEndPoint(new Point(0,0)); } return this.endPoint; }
576
protected final Point getStartPoint() { if(this.startPoint == null) { setStartPoint(new Point(0,0)); } return this.startPoint; }
protected Point getStartPoint() { if(this.startPoint == null) { setStartPoint(new Point(0,0)); } return this.startPoint; }
577
public Thread(Runnable target) { this(null, target, autoName()); }
public Thread(Runnable target) { this(null, target, autoName()); }
578
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType) { JOptionPane pane = new JOptionPane(message, PLAIN_MESSAGE, optionType); JDialog dialog = pane.createDialog(parentComponent, ti...
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType) { JOptionPane pane = new JOptionPane(message, PLAIN_MESSAGE, optionType); JDialog dialog = pane.createDialog(parentComponent, ti...
579
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType) { JOptionPane pane = new JOptionPane(message, PLAIN_MESSAGE, optionType); JDialog dialog = pane.createDialog(parentComponent, ti...
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType) { JOptionPane pane = new JOptionPane(message, PLAIN_MESSAGE, optionType); JDialog dialog = pane.createDialog(parentComponent, ti...
580
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType) { JOptionPane pane = new JOptionPane(message, PLAIN_MESSAGE, optionType); JDialog dialog = pane.createDialog(parentComponent, ti...
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType) { JOptionPane pane = new JOptionPane(message, PLAIN_MESSAGE, optionType); JDialog dialog = pane.createDialog(parentComponent, ti...
581
public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger) { this(source, id, when, modifiers, x, y, clickCount, popupTrigger, NOBUTTON); }
public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button) { this(source, id, when, modifiers, x, y, clickCount, popupTrigger, NOBUTTON); }
582
public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger) { this(source, id, when, modifiers, x, y, clickCount, popupTrigger, NOBUTTON); }
public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger) { this(source, id, when, modifiers, x, y, clickCount, popupTrigger, NOBUTTON); }
583
public static void showMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon) { JOptionPane pane = new JOptionPane(message, messageType); pane.setIcon(icon); JDialog dialog = pane.createDi...
public static void showMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon) { JOptionPane pane = new JOptionPane(message, messageType); pane.setIcon(icon); JDialog dialog = pane.createDi...
584
public static void showMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon) { JOptionPane pane = new JOptionPane(message, messageType); pane.setIcon(icon); JDialog dialog = pane.createDi...
public static void showMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon) { JOptionPane pane = new JOptionPane(message, messageType); pane.setIcon(icon); JDialog dialog = pane.createDi...
585
public boolean isInField(int pos, boolean chgToField) { return screenFields.isInField(pos,chgToField); }
public boolean isInField() { return screenFields.isInField(pos,chgToField); }
586
public boolean isInField(int pos, boolean chgToField) { return screenFields.isInField(pos,chgToField); }
public boolean isInField(int pos, boolean chgToField) { return isInField(lastPos,true); }
587
public final static boolean isMacrosExist() { return macrosExist; }
publicfinalstaticbooleanisMacrosExist(){returnmacrosExist;}
588
public final void systemRequest(char sr) { if (sr == ' ') { JPanel srp = new JPanel(); srp.setLayout(new BorderLayout()); JLabel jl = new JLabel("Enter alternate job"); final JTextField sro = new JTextField(); srp.add(jl,BorderLayout.NORTH); srp.add(sro,BorderLayo...
public final void systemRequest(char sr) { if (sr == ' ') { JPanel srp = new JPanel(); srp.setLayout(new BorderLayout()); JLabel jl = new JLabel("Enter alternate job"); final JTextField sro = new JTextField(); srp.add(jl,BorderLayout.NORTH); srp.add(sro,BorderLayo...
589
public final static void invoke (String macro, Session session) { String keys = getMacroByName(macro); if (keys != null) session.getScreen().sendKeys(keys); else { try { if (!macro.endsWith(".py")) macro = macro + ".py"; InterpreterDriverManager.exec...
public final static void invoke (String macro, Session session) {String keys = getMacroByName(macro);if (keys != null)session.getScreen().sendKeys(keys);else {try {if (!macro.endsWith(".py"))macro = macro + ".py";InterpreterDriverManager.executeScriptFile((Session)session,"scripts" +File.separatorChar + macro);}catch (...
590
public void setSize(int width, int height) { resize (width, height); }
public void setSize(Dimension d) { resize (width, height); }
591
public void setSize(int width, int height) { resize (width, height); }
public void setSize(int width, int height) { resize (width, height); }
592
public boolean isFocusTraversable() { return enabled && visible && (peer == null || peer.isFocusTraversable()); }
public boolean isFocusTraversable() { return enabled && visible && (peer == null || peer.isFocusTraversable()); }
593
public final void setBounds(Rectangle r) { setBounds(r.width, r.height); }
public final void setBounds(int width, int height) { setBounds(r.width, r.height); }
594
public final void setBounds(Rectangle r) { setBounds(r.width, r.height); }
public final void setBounds(Rectangle r) { setCursorActive(false); resizeScreenArea(width,height); dirty.setBounds(tArea.getBounds()); if (gui.getGraphics() != null) { gg2d = null; drawing = true; updateDirty(); } if (isStatusErrorCode()) setStatus(STATUS_ERROR_CODE,STATUS_VALUE_ON,statusString); if (isXSy...
595
public JList(ListModel listData) { init(); setModel(listData); }
public JList() { init(); setModel(listData); }
596
public JList(ListModel listData) { init(); setModel(listData); }
public JList(ListModel listData) { init(); }
597
public JScrollPane(Component view) { this(view, VERTICAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_AS_NEEDED); }
public JScrollPane() { this(view, VERTICAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_AS_NEEDED); }
598
public JScrollPane(Component view) { this(view, VERTICAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_AS_NEEDED); }
public JScrollPane(Component view) { this(view, VERTICAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_AS_NEEDED); }
599
public static String showInputDialog(Component parentComponent, Object message, String title, int messageType) { JOptionPane pane = new JOptionPane(message, messageType); pane.setWantsInput(true); JDialog dialog = pane.createDialog(...
public static String showInputDialog(Component parentComponent, Object message, String title, int messageType) { JOptionPane pane = new JOptionPane(message, messageType); pane.setWantsInput(true); JDialog dialog = pane.createDialog(...
600
public static String showInputDialog(Component parentComponent, Object message, String title, int messageType) { JOptionPane pane = new JOptionPane(message, messageType); pane.setWantsInput(true); JDialog dialog = pane.createDialog(...
public static String showInputDialog(Component parentComponent, Object message, String title, int messageType) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); pane.setWantsInput(true); JDialog dialog = pane.createDi...
601
public static String showInputDialog(Component parentComponent, Object message, String title, int messageType) { JOptionPane pane = new JOptionPane(message, messageType); pane.setWantsInput(true); JDialog dialog = pane.createDialog(...
public static String showInputDialog(Component parentComponent, Object message, String title, int messageType) { JOptionPane pane = new JOptionPane(message, messageType); pane.setWantsInput(true); JDialog dialog = pane.createDialog(...
602
private RefItem(int kind, Register reg, VmConstString val, int offsetToFP) { super(kind, reg, offsetToFP); this.value = val; }
private RefItem(int kind, Register reg, VmConstString val, int offsetToFP) { super(kind, reg, offsetToFP); this.value = val; }
603
protected WordItem cloneConstant() { return createConst(getValue()); }
protected WordItem cloneConstant() { return createConst(getValue()); }
604
public void setBlockIncrement(int blockIncrement) { if (blockIncrement != this.blockIncrement) { int oldInc = this.blockIncrement; this.blockIncrement = blockIncrement; firePropertyChange(BLOCK_INCREMENT_CHANGED_PROPERTY, oldInc, this.blockIncrement); } }
public void setBlockIncrement(int blockIncrement) { if (blockIncrement != this.blockIncrement) { int oldInc = this.blockIncrement; this.blockIncrement = blockIncrement; firePropertyChange(BLOCK_INCREMENT_CHANGED_PROPERTY, oldInc, this.blockIncrement); } }
605
public void setModel(BoundedRangeModel newModel) { if (model != newModel) { BoundedRangeModel oldModel = model; model = newModel; oldModel.removeChangeListener(changeListener); model.addChangeListener(changeListener); firePropertyChange(MODEL_CHANGED_PROPERTY, oldModel, model); } }
public void setModel(BoundedRangeModel newModel) { if (model != newModel) { BoundedRangeModel oldModel = model; model = newModel; oldModel.removeChangeListener(changeListener); model.addChangeListener(changeListener); firePropertyChange(MODEL_CHANGED_PROPERTY, oldModel, model); } }
606