bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"...
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"...
824
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"...
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"...
825
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"...
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"...
826
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"...
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"...
827
public void uninstallUI(JComponent c) { tree.setFont(null); tree.setForeground(null); tree.setBackground(null); uninstallKeyboardActions(); tree.removePropertyChangeListener(propertyChangeListener); tree.removeFocusListener(focusListener); tree.removeTreeSelectionListener(treeSelectionLi...
public void uninstallUI(JComponent c) { tree.setFont(null); tree.setForeground(null); tree.setBackground(null); uninstallKeyboardActions(); tree.removePropertyChangeListener(propertyChangeListener); tree.removeFocusListener(focusListener); tree.removeTreeSelectionListener(treeSelectionLi...
829
public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; setCellEditor(createDefaultCellEditor()); createdCellEditor = true; isEdit...
public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; setCellEditor(createDefaultCellEditor()); createdCellEditor = true; isEdit...
830
public void setRowHeight(int height) { if (rowHeight == height) return; int oldValue = rowHeight; rowHeight = height; firePropertyChange(ROW_HEIGHT_PROPERTY, oldValue, height); }
public void setRowHeight(int height) { if (rowHeight == height) return; int oldValue = rowHeight; rowHeight = height; firePropertyChange(ROW_HEIGHT_PROPERTY, oldValue, height); }
832
public void uninstallUI(JComponent c) { uninstallDefaults((JTree) c); uninstallKeyboardActions(); uninstallListeners(); tree = null; completeUIUninstall(); }
public void uninstallUI(JComponent c) { uninstallDefaults((JTree) c); uninstallKeyboardActions(); uninstallListeners(); tree = null; completeUIUninstall(); }
833
protected void reindex() { Element[] lines; try { String str = content.getString(0, content.length()); ArrayList elts = new ArrayList(); int j = 0; for (int i = str.indexOf('\n', 0); i != -1; i = str.indexOf('\n', i + 1)) { elts.add(createLeafElement(rootEl...
private void reindex() { Element[] lines; try { String str = content.getString(0, content.length()); ArrayList elts = new ArrayList(); int j = 0; for (int i = str.indexOf('\n', 0); i != -1; i = str.indexOf('\n', i + 1)) { elts.add(createLeafElement(rootElem...
834
public void keyPressed(KeyEvent e) throws NotImplementedException { // FIXME: This method calls JComboBox.selectWithKeyChar if the key that // was pressed is not a navigation key. }
public void keyPressed(KeyEvent e) { // FIXME: This method calls JComboBox.selectWithKeyChar if the key that // was pressed is not a navigation key. }
835
public void keyPressed(KeyEvent e) throws NotImplementedException { // FIXME: This method calls JComboBox.selectWithKeyChar if the key that // was pressed is not a navigation key. }
if (comboBox.getModel().getSize() != 0 && comboBox.isEnabled()) { if (! isNavigationKey(e.getKeyCode())) { if (! comboBox.isEditable()) if (comboBox.selectWithKeyChar(e.getKeyChar())) e.consume(); } else { if (e.getKeyCode() == KeyEvent.VK_UP && comboBox.isPopupVisible()) selectPreviousPossibleValue(); else if (e.getKe...
836
public Accessible getAccessibleChild(JComponent c, int i) throws NotImplementedException { // FIXME: Need to implement return null; }
public Accessible getAccessibleChild(JComponent c, int i) { // FIXME: Need to implement return null; }
839
public Accessible getAccessibleChild(JComponent c, int i) throws NotImplementedException { // FIXME: Need to implement return null; }
public Accessible getAccessibleChild(JComponent c, int i) throws NotImplementedException { // FIXME: Need to implement Accessible child = null; switch (i) { case 0: if (popup instanceof Accessible) { AccessibleContext ctx = ((Accessible) popup).getAccessibleContext(); ctx.setAccessibleParent(comboBox); child...
840
public int getAccessibleChildrenCount(JComponent c) throws NotImplementedException { // FIXME: Need to implement return 0; }
public int getAccessibleChildrenCount(JComponent c) { // FIXME: Need to implement return 0; }
841
public int getAccessibleChildrenCount(JComponent c) throws NotImplementedException { // FIXME: Need to implement return 0; }
public int getAccessibleChildrenCount(JComponent c) throws NotImplementedException { // FIXME: Need to implement int count = 1; if (comboBox.isEditable()) count = 2; return count; }
842
protected Dimension getDisplaySize() { Dimension dim = new Dimension(); ListCellRenderer renderer = comboBox.getRenderer(); if (renderer == null) { renderer = DEFAULT_RENDERER; } Object prototype = comboBox.getPrototypeDisplayValue(); if (prototype != null) { Component...
protected Dimension getDisplaySize() { Dimension dim = new Dimension(); ListCellRenderer renderer = comboBox.getRenderer(); if (renderer == null) { renderer = DEFAULT_RENDERER; } Object prototype = comboBox.getPrototypeDisplayValue(); if (prototype != null) { Component...
843
protected Dimension getDisplaySize() { Dimension dim = new Dimension(); ListCellRenderer renderer = comboBox.getRenderer(); if (renderer == null) { renderer = DEFAULT_RENDERER; } Object prototype = comboBox.getPrototypeDisplayValue(); if (prototype != null) { Component...
protected Dimension getDisplaySize() { Dimension dim = new Dimension(); ListCellRenderer renderer = comboBox.getRenderer(); if (renderer == null) { renderer = DEFAULT_RENDERER; } Object prototype = comboBox.getPrototypeDisplayValue(); if (prototype != null) { Component...
844
protected void installListeners() { // install combo box's listeners propertyChangeListener = createPropertyChangeListener(); comboBox.addPropertyChangeListener(propertyChangeListener); focusListener = createFocusListener(); editor.addFocusListener(focusListener); itemListener = createItemListener(...
protected void installListeners() { // install combo box's listeners propertyChangeListener = createPropertyChangeListener(); comboBox.addPropertyChangeListener(propertyChangeListener); focusListener = createFocusListener(); comboBox.addFocusListener(focusListener); itemListener = createItemListene...
845
protected boolean isNavigationKey(int keyCode) throws NotImplementedException { // FIXME: Need to implement return false; }
protected boolean isNavigationKey(int keyCode) { // FIXME: Need to implement return false; }
847
protected boolean isNavigationKey(int keyCode) throws NotImplementedException { // FIXME: Need to implement return false; }
protected boolean isNavigationKey(int keyCode) throws NotImplementedException { // FIXME: Need to implement return keyCode == KeyEvent.VK_UP || keyCode == KeyEvent.VK_DOWN || keyCode == KeyEvent.VK_LEFT || keyCode == KeyEvent.VK_RIGHT || keyCode == KeyEvent.VK_ENTER || keyCode == KeyEvent.VK_ESCAPE || keyCod...
848
protected void selectPreviousPossibleValue() { int index = comboBox.getSelectedIndex(); if (index != 0) comboBox.setSelectedIndex(index - 1); }
protected void selectPreviousPossibleValue() { int index = comboBox.getSelectedIndex(); if (index > 0) comboBox.setSelectedIndex(index - 1); }
849
Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus);
Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus);
851
public static Object get(Object key) { return getLookAndFeelDefaults().get(key); }
public static Object get(Object key) { return getLookAndFeelDefaults().get(key); }
852
public void setRenderer(ListCellRenderer aRenderer) { if (renderer != aRenderer) { ListCellRenderer oldRenderer = renderer; renderer = aRenderer; firePropertyChange("renderer", oldRenderer, renderer); } }
public void setRenderer(ListCellRenderer aRenderer) { if (renderer != aRenderer) { ListCellRenderer oldRenderer = renderer; renderer = aRenderer; firePropertyChange("renderer", oldRenderer, renderer); } }
853
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { // Uses special method of DefaultComboBoxModel to retrieve the index. return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); } else { ...
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { // Uses special method of DefaultComboBoxModel to retrieve the index. return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); } else { ...
854
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { // Uses special method of DefaultComboBoxModel to retrieve the index. return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); } else { ...
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { // Uses special method of DefaultComboBoxModel to retrieve the index. return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); } else { ...
855
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { // Uses special method of DefaultComboBoxModel to retrieve the index. return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); } else { ...
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { // Uses special method of DefaultComboBoxModel to retrieve the index. return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); } else { ...
856
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { // Uses special method of DefaultComboBoxModel to retrieve the index. return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); } else { ...
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { // Uses special method of DefaultComboBoxModel to retrieve the index. return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); } else { ...
857
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { // Uses special method of DefaultComboBoxModel to retrieve the index. return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); } else { ...
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) { // Uses special method of DefaultComboBoxModel to retrieve the index. return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); else { /...
858
public void setSelectedIndex(int index) { if(index < -1 || index >= dataModel.getSize()) { // Fails because index is out of bounds. throw new IllegalArgumentException("illegal index: " + index); } else { /* Selects the item at the given index or clears the selection if the * index value is -1. ...
public void setSelectedIndex(int index) { if (index < -1 || index >= dataModel.getSize()) // Fails because index is out of bounds. throw new IllegalArgumentException("illegal index: " + index); } else { /* Selects the item at the given index or clears the selection if the * index value is -1. *...
859
public void setSelectedIndex(int index) { if(index < -1 || index >= dataModel.getSize()) { // Fails because index is out of bounds. throw new IllegalArgumentException("illegal index: " + index); } else { /* Selects the item at the given index or clears the selection if the * index value is -1. ...
public void setSelectedIndex(int index) { if(index < -1 || index >= dataModel.getSize()) { // Fails because index is out of bounds. throw new IllegalArgumentException("illegal index: " + index); } else { /* Selects the item at the given index or clears the selection if the * index value is -1. ...
860
public void setSelectedIndex(int index) { if(index < -1 || index >= dataModel.getSize()) { // Fails because index is out of bounds. throw new IllegalArgumentException("illegal index: " + index); } else { /* Selects the item at the given index or clears the selection if the * index value is -1. ...
public void setSelectedIndex(int index) { if(index < -1 || index >= dataModel.getSize()) { // Fails because index is out of bounds. throw new IllegalArgumentException("illegal index: " + index); else { /* Selects the item at the given index or clears the selection if the * index value is -1. */...
861
public static void add(org.omg.IOP.ServiceContext[] cx, org.omg.IOP.ServiceContext service_context, boolean replace) { int exists = -1; for (int i = 0; i < cx.length; i++) if (cx[i].context_id == service_context.context_id) exists = i; if (exists < 0) { // Add context. org....
public static void add(org.omg.IOP.ServiceContext[] cx, org.omg.IOP.ServiceContext service_context, boolean replace) { int exists = -1; for (int i = 0; i < cx.length; i++) if (cx[i].context_id == service_context.context_id) exists = i; if (exists < 0) { // Add context. org....
862
public final void draw(Shape shape) { surface.draw(shape, transform, getColor(), mode); }
public final void draw(Shape shape) { surface.draw(shape, transform, getColor(), mode); }
863
public boolean drawImage(Image image, int x, int y, Color bgcolor, ImageObserver observer) { try { final Raster raster = getCompatibleRaster(image); surface.drawCompatibleRaster(raster, 0, 0, x, y, raster.getWidth(), raster.getHeight(), bgcolor); return true; } catch (InterruptedException ex) { return false;...
public boolean drawImage(Image image, int x, int y, Color bgcolor, ImageObserver observer) { try { final Raster raster = getCompatibleRaster(image); surface.drawCompatibleRaster(raster, 0, 0, x, y, raster.getWidth(), raster.getHeight(), bgcolor); return true; } catch (InterruptedException ex) { return false;...
864
public void drawRenderableImage(RenderableImage image, AffineTransform xform) { drawRenderedImage(image.createDefaultRendering(), xform); }
public void drawRenderableImage(RenderableImage image, AffineTransform xform) { drawRenderedImage(image.createDefaultRendering(), xform); }
865
public void drawRenderedImage(RenderedImage image, AffineTransform xform) { // TODO Auto-generated method stub }
public void drawRenderedImage(RenderedImage image, AffineTransform xform) { // TODO Auto-generated method stub }
866
public final void fill(Shape shape) { surface.fill(shape, transform, getColor(), mode); }
public final void fill(Shape shape) { surface.fill(shape, transform, getColor(), mode); }
867
public AbstractGraphics(AbstractGraphics src) { this.bgColor = src.bgColor; this.fgColor = src.fgColor; this.xorColor = src.xorColor; this.font = src.font; this.clip = src.clip; this.stroke = src.stroke; this.transform = new AffineTransform(src.transform); this.paint = src.paint; this.composite = src.composit...
public AbstractGraphics(AbstractGraphics src) { this.bgColor = src.bgColor; this.fgColor = src.fgColor; this.xorColor = src.xorColor; this.font = src.font; this.clip = src.clip; this.stroke = src.stroke; this.transform = new AffineTransform(src.transform); this.paint = src.paint; this.composite = src.composit...
868
public void draw(Shape shape, AffineTransform tx, Color color, int mode);
public void draw(Shape shape, AffineTransform tx, Color color, int mode);
869
public boolean drawImage(Image image, int x, int y, Color bgcolor, ImageObserver observer) { // TODO Auto-generated method stub return false; }
public boolean drawImage(Image image, int x, int y, Color bgcolor, ImageObserver observer) { // TODO Auto-generated method stub return false; }
870
public JNodeImage(ImageProducer producer) { this.initProducer = producer; this.colorModel = ColorModel.getRGBdefault(); }
public JNodeImage(ImageProducer producer) { this.initProducer = producer; this.colorModel = ColorModel.getRGBdefault(); }
871
public void fill(Shape shape, AffineTransform tx, Color color, int mode);
public void fill(Shape shape, AffineTransform tx, Color color, int mode);
872
public PixelGrabber(Image img, int x, int y, int w, int h, boolean forceRGB) { this.ip = img.getSource(); this.x = x; this.y = y; width = w; height = h; // If width or height is negative, postpone pixel buffer // initialization until setDimensions is called back by ip. if (...
public PixelGrabber(Image img, int x, int y, int w, int h, boolean forceRGB) { this.ip = img.getSource(); this.x = x; this.y = y; width = w; height = h; // If width or height is negative, postpone pixel buffer // initialization until setDimensions is called back by ip. if (...
873
public PixelGrabber(Image img, int x, int y, int w, int h, boolean forceRGB) { this.ip = img.getSource(); this.x = x; this.y = y; width = w; height = h; // If width or height is negative, postpone pixel buffer // initialization until setDimensions is called back by ip. if (...
public PixelGrabber(Image img, int x, int y, int w, int h, boolean forceRGB) { this.ip = img.getSource(); this.x = x; this.y = y; width = w; height = h; // If width or height is negative, postpone pixel buffer // initialization until setDimensions is called back by ip. if (...
874
public boolean getScrollableTracksViewportHeight() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getHeight() > getPreferredSize().height; return false; }
public boolean getScrollableTracksViewportHeight() { if (getParent() instanceof JViewport) return getParent().getHeight() > getPreferredSize().height; return false; }
877
public boolean getScrollableTracksViewportWidth() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getWidth() > getPreferredSize().width; return false; }
public boolean getScrollableTracksViewportWidth() { if (getParent() instanceof JViewport) return getParent().getWidth() > getPreferredSize().width; return false; }
878
public String getToolTipText(MouseEvent event) { return getToolTipText(); }
public String getToolTipText(MouseEvent event) { return getToolTipText(); }
879
public void initPanel() throws Exception { setLayout(new BorderLayout()); contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); add(contentPane,BorderLayout.NORTH); // define ppPanel panel JPanel ppp = new JPanel(); ppp.setBorder(BorderFac...
public void initPanel() throws Exception { setLayout(new BorderLayout()); contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); add(contentPane,BorderLayout.NORTH); // define ppPanel panel JPanel ppp = new JPanel(); ppp.setBorder(BorderFac...
881
public void initPanel() throws Exception { setLayout(new BorderLayout()); contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); add(contentPane,BorderLayout.NORTH); // define ppPanel panel JPanel ppp = new JPanel(); ppp.setBorder(BorderFac...
publicvoidinitPanel()throwsException{setLayout(newBorderLayout());contentPane=newJPanel();contentPane.setLayout(newBoxLayout(contentPane,BoxLayout.Y_AXIS));add(contentPane,BorderLayout.NORTH);//defineppPanelpanelJPanelppp=newJPanel();ppp.setBorder(BorderFactory.createTitledBorder(LangTool.getString("sa.print")));defaul...
882
public static String toString(double d) { return toString(d, false); }
public static String toString(double d) { return VMDouble.toString(d, false); }
883
public static PrinterJob getPrinterJob() { // FIXME: Need to fix this to load a default implementation instance. return null; }
public static PrinterJob getPrinterJob() { // FIXME: Need to fix this to load a default implementation instance. return new NoPrinterJob(); }
884
public static double parseDouble(String str) { return new VMDouble(str).parse(); }
public static double parseDouble(String str) { return new VMDouble(str).parse(); }
885
int getRunLimit (AttributedCharacterIterator.Attribute attrib);
int getRunLimit (AttributedCharacterIterator.Attribute attrib);
886
int getRunStart (AttributedCharacterIterator.Attribute attrib);
int getRunStart (AttributedCharacterIterator.Attribute attrib);
887
public Gui5250SplitFrame(My5250 m) { super(m); enableEvents(AWTEvent.WINDOW_EVENT_MASK); try { jbInit(); } catch(Exception e) { e.printStackTrace(); } }
public Gui5250SplitFrame(My5250 m) { super(m); enableEvents(AWTEvent.WINDOW_EVENT_MASK); try { jbInit(); } catch(Exception e) { log.warn("In constructor: "+e); } }
888
public void setVerticalAlignment(int alignment) { if (alignment == verticalAlignment) return; int oldAlignment = verticalAlignment; verticalAlignment = checkVerticalKey(alignment, "verticalAlignment"); firePropertyChange("verticalAlignment", oldAlignment, verticalAlignment); }
public void setVerticalAlignment(int alignment) { if (alignment == verticalAlignment) return; int oldAlignment = verticalAlignment; verticalAlignment = checkVerticalKey(alignment, "verticalAlignment"); firePropertyChange("verticalAlignment", oldAlignment, verticalAlignment); }
889
public JSplitPane(int newOrientation) { this(newOrientation, false, null, null); }
public JSplitPane(int newOrientation, boolean newContinuousLayout, Component newLeftComponent, Component newRightComponent) { this(newOrientation, false, null, null); }
890
public JSplitPane(int newOrientation) { this(newOrientation, false, null, null); }
public JSplitPane(int newOrientation) { if (newOrientation != HORIZONTAL_SPLIT && newOrientation != VERTICAL_SPLIT) throw new IllegalArgumentException("orientation is invalid."); orientation = newOrientation; continuousLayout = newContinuousLayout; setLeftComponent(newLeftComponent); setRightComponent(newRightCom...
891
public static Border createEtchedBorder () { return new EtchedBorder (); }
public static Border createEtchedBorder() { return new EtchedBorder (); }
892
public static Border createEtchedBorder () { return new EtchedBorder (); }
public static Border createEtchedBorder () { return new EtchedBorder(); }
893
public boolean getValueIsAdjusting() { return isAdjusting; } // getValueIsAdjusting()
public boolean getValueIsAdjusting() { return isAdjusting; } // getValueIsAdjusting()
894
public boolean getValueIsAdjusting() { return isAdjusting; } // getValueIsAdjusting()
public boolean getValueIsAdjusting() { return isAdjusting; } // getValueIsAdjusting()
895
public static synchronized Configuration getConfiguration() { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkPermission (new AuthPermission ("getLoginConfiguration")); if (config == null) { String conf = (String) AccessController.doPrivileged (new Privile...
public static synchronized Configuration getConfiguration() { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkPermission (new AuthPermission ("getLoginConfiguration")); if (config == null) { String conf = (String) AccessController.doPrivileged (new Privile...
898
public BooleanSeqHolder(boolean[] initial_value) { value = initial_value; typecode.setLength(value.length); }
public BooleanSeqHolder() { value = initial_value; typecode.setLength(value.length); }
899
public BooleanSeqHolder(boolean[] initial_value) { value = initial_value; typecode.setLength(value.length); }
public BooleanSeqHolder(boolean[] initial_value) { value = initial_value; typecode.setLength(value.length); }
900
public void setResolveParent(AttributeSet parent) { attributes = StyleContext.this.addAttribute(attributes, ResolveAttribute, parent); fireStateChanged(); }
public void setResolveParent(AttributeSet parent) { if (parent != null) { attributes = StyleContext.this.addAttribute (attributes, ResolveAttribute, parent); } fireStateChanged(); }
901
public SimpleAttributeSet(AttributeSet a) { tab = new Hashtable(); if (a != null) addAttributes(a); }
public SimpleAttributeSet() { tab = new Hashtable(); if (a != null) addAttributes(a); }
902
public SimpleAttributeSet(AttributeSet a) { tab = new Hashtable(); if (a != null) addAttributes(a); }
public SimpleAttributeSet(AttributeSet a) { tab = new Hashtable(); if (a != null) addAttributes(a); }
903
public static Color getBackground(AttributeSet a) { if (a.isDefined(Background)) return (Color) a.getAttribute(Background); else return Color.BLACK; }
public static Color getBackground(AttributeSet a) { if (a.isDefined(Background)) return (Color) a.getAttribute(Background); else return Color.WHITE; }
904
public JIFSFile(String name, FSEntry parent) { this(name); this.parent = parent; refresh(); }
public JIFSFile(String name, FSEntry parent) { this(name); this.parent = parent; refresh(); }
905
public void store(int value) { }
public void store(ObjectReference ref) { }
906
static StringBuffer toString(int mod, StringBuffer r) { if (isPublic(mod)) r.append("public "); if (isProtected(mod)) r.append("protected "); if (isPrivate(mod)) r.append("private "); if (isAbstract(mod)) r.append("abstract "); if (isStatic(mod)) r.append("static "); if (is...
public static String toString(int mod) { if (isPublic(mod)) r.append("public "); if (isProtected(mod)) r.append("protected "); if (isPrivate(mod)) r.append("private "); if (isAbstract(mod)) r.append("abstract "); if (isStatic(mod)) r.append("static "); if (isFinal(mod)) ...
907
static StringBuffer toString(int mod, StringBuffer r) { if (isPublic(mod)) r.append("public "); if (isProtected(mod)) r.append("protected "); if (isPrivate(mod)) r.append("private "); if (isAbstract(mod)) r.append("abstract "); if (isStatic(mod)) r.append("static "); if (is...
static StringBuffer toString(int mod, StringBuffer r) { if (isPublic(mod)) r.append("public "); if (isProtected(mod)) r.append("protected "); if (isPrivate(mod)) r.append("private "); if (isAbstract(mod)) r.append("abstract "); if (isStatic(mod)) r.append("static "); if (is...
908
private void loadConfigurationResource() { sesProps = new Properties(); if (configurationResource == null || configurationResource == "") configurationResource = "TN5250JDefaults.props"; try {// FileInputStream in = new FileInputStream(((GlobalConfigure)ConfigureFactory.getInstance())....
private void loadConfigurationResource() { sesProps = new Properties(); if (configurationResource == null || configurationResource == "") configurationResource = "TN5250JDefaults.props"; try {// FileInputStream in = new FileInputStream(((GlobalConfigure)ConfigureFactory.getInstance())....
909
private void loadConfigurationResource() { sesProps = new Properties(); if (configurationResource == null || configurationResource == "") configurationResource = "TN5250JDefaults.props"; try {// FileInputStream in = new FileInputStream(((GlobalConfigure)ConfigureFactory.getInstance())....
private void loadConfigurationResource() { sesProps = new Properties(); if (configurationResource == null || configurationResource == "") configurationResource = "TN5250JDefaults.props"; try {// FileInputStream in = new FileInputStream(((GlobalConfigure)ConfigureFactory.getInstance())....
910
public FontMetrics getFontMetrics(){ return getFontMetrics(getFont());}
public FontMetrics getFontMetrics(){ return getFontMetrics(getFont());}
914
public FontMetrics getFontMetrics(){ return getFontMetrics(getFont());}
public FontMetrics getFontMetrics(){ return getFontMetrics(getFont());}
915
public Element getElement() { return elt; }
public Element getElement() { return elt; }
916
public Element getElement() { return elt; }
public Element getElement() { return elt; }
917
public Document getDocument() { return getElement().getDocument(); }
public Document getDocument() { return getElement().getDocument(); }
918
public Document getDocument() { return getElement().getDocument(); }
public Document getDocument() { return getElement().getDocument(); }
919
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 current x and y pixel coordinates. int pixelX = x; int pixelY = y; // The font...
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 current x and y pixel coordinates. int pixelX = x; int pixelY = y; // The font...
920
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 current x and y pixel coordinates. int pixelX = x; int pixelY = y; // The font...
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 current x and y pixel coordinates. int pixelX = x; int pixelY = y; // The font...
921
public int charWidth(char ch) { return 1; }
public int charWidth(int ch) { return 1; }
922
public int charWidth(char ch) { return 1; }
public int charWidth(char ch) { char[] chars = Character.toChars(ch); return charsWidth(chars, 0, chars.length); }
923
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.getObjectInputStream(); ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + ", hash: " + hash); // Use the obji...
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.getObjectInputStream(); ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + ", hash: " + hash); // Use the obji...
925
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.getObjectInputStream(); ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + ", hash: " + hash); // Use the obji...
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.getObjectInputStream(); ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + ", hash: " + hash); // Use the obji...
926
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.getObjectInputStream(); ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + ", hash: " + hash); // Use the obji...
private static void incomingMessageCall(UnicastConnection conn) throws IOException { ObjectInputStream in = conn.getObjectInputStream(); ObjID objid = ObjID.read(in); int method = in.readInt(); long hash = in.readLong();//System.out.println("ObjID: " + objid + ", method: " + method + ", hash: " + hash); // Use the obji...
927
ObjectInputStream getObjectInputStream() throws IOException { if (oin == null) { oin = new RMIObjectInputStream(din); } return (oin);}
ObjectInputStream getObjectInputStream() throws IOException { if (oin == null) { oin = new RMIObjectInputStream(din); } return (oin);}
928
public static ObjID read(ObjectInput in) throws IOException { DataInput din = (DataInput)in; ObjID id = new ObjID(); id.objNum = din.readLong(); id.space = UID.read(din); return (id);}
public static ObjID read(ObjectInput in) throws IOException { DataInput din = (DataInput)in; ObjID id = new ObjID(); id.objNum = din.readLong(); id.space = UID.read(din); return (id);}
929
public static ObjID read(ObjectInput in) throws IOException { DataInput din = (DataInput)in; ObjID id = new ObjID(); id.objNum = din.readLong(); id.space = UID.read(din); return (id);}
public static ObjID read(ObjectInput in) throws IOException { DataInput din = (DataInput)in; ObjID id = new ObjID(); id.objNum = din.readLong(); id.space = UID.read(din); return (id);}
930
ObjectOutputStream getObjectOutputStream() throws IOException { if (oout == null) { oout = new RMIObjectOutputStream(dout); } return (oout);}
ObjectOutputStream getObjectOutputStream() throws IOException { if (oout == null) { oout = new RMIObjectOutputStream(dout); } return (oout);}
931
public UID() { synchronized (lock) { if (nextCount == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short...
public UID() { synchronized (lock) { if (nextCount == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short...
932
public UID() { synchronized (lock) { if (nextCount == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short...
public UID() { synchronized (lock) { if (nextCount == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short...
933
public UID() { synchronized (lock) { if (nextCount == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short...
public UID() { synchronized (lock) { if (nextCount == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short...
934
public UID() { synchronized (lock) { if (nextCount == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short...
public UID() { synchronized (lock) { if (nextCount == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short...
935
public void write(DataOutput out) throws IOException { out.writeInt(unique); out.writeLong(time); out.writeShort(count);}
public void write(DataOutput out) throws IOException { out.writeInt(unique); out.writeLong(time); out.writeShort(count);}
936
public void write(DataOutput out) throws IOException { out.writeInt(unique); out.writeLong(time); out.writeShort(count);}
public void write(DataOutput out) throws IOException { out.writeInt(unique); out.writeLong(time); out.writeShort(count);}
937
public Array addArray(Array array) { if (array == null) { Log.warn("in Structure.addArray(), Array passed in is null"); return null; } getArrayList().add(array); return array; }
public Array addArray(Array array) { if (array == null) { Log.warn("in Structure.addArray(), Array passed in is null"); return null; } getArrayList().add(array); return array; }
938