bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); t.replaceSelection("\t"); }
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); t.replaceSelection("\t"); }
27,032
public PasteAction() { super(pasteAction); }
public PasteAction() { super(pasteAction); }
27,033
public PasteAction() { super(pasteAction); }
public PasteAction() { super(pasteAction); }
27,034
public void actionPerformed(ActionEvent event) { getTextComponent(event).paste(); }
public void actionPerformed(ActionEvent event) { getTextComponent(event).paste(); }
27,035
public void actionPerformed(ActionEvent event) { getTextComponent(event).paste(); }
public void actionPerformed(ActionEvent event) { getTextComponent(event).paste(); }
27,036
public DefaultEditorKit() { // Nothing to do here. }
public DefaultEditorKit() { // Nothing to do here. }
27,037
public DefaultEditorKit() { // Nothing to do here. }
public DefaultEditorKit() { // Nothing to do here. }
27,038
protected final JTextComponent getTextComponent(ActionEvent event) { return null; // TODO }
protected final JTextComponent getTextComponent(ActionEvent event) { if (event.getSource() != null && event.getSource() instanceof JTextComponent) return (JTextComponent) event.getSource(); else return getFocusedComponent(); // TODO }
27,039
public Point getLocation() { return new Point(x, y); }
public Point getLocation() { return new Point(x, y); }
27,040
public TextAction(String name) { // TODO }
super(name); super(name); publicsuper(name); TextAction(Stringsuper(name); name)super(name); super(name); { //super(name); TODOsuper(name); super(name); }
27,041
public static boolean isISOControl(char ch) { return getType(ch) == CONTROL; }
public static boolean isISOControl(char ch) { return isISOControl((int)ch); }
27,042
public synchronized void replaceSelection(String content) { int dot = caret.getDot(); int mark = caret.getMark(); // If content is empty delete selection. if (content == null) { caret.setDot(dot); return; } try { int start = getSelectionStart(); int end = getSelectionEnd(); // Remove s...
public synchronized void replaceSelection(String content) { int dot = caret.getDot(); int mark = caret.getMark(); // If content is empty delete selection. if (content == null) { caret.setDot(dot); return; } try { int start = getSelectionStart(); int end = getSelectionEnd(); // Remove s...
27,043
public synchronized void setAddress(InetAddress address) { if (address == null) throw new NullPointerException("Null address"); this.address = address; }
public synchronized void setAddress(InetAddress address) { if (address == null) throw new NullPointerException("Null address"); this.address = address; }
27,044
protected void startPlugin() throws PluginException { this.processor = new ConfigurationProcessor(); System.out.println("Before getPreferences"); this.config = new NetConfigurationData(getPreferences()); System.out.println("After getPreferences"); this.service = new ConfigurationS...
protected void startPlugin() throws PluginException { this.processor = new ConfigurationProcessor(); this.config = new NetConfigurationData(getPreferences()); System.out.println("After getPreferences"); this.service = new ConfigurationServiceImpl(processor, config); this.mo...
27,047
protected void startPlugin() throws PluginException { this.processor = new ConfigurationProcessor(); System.out.println("Before getPreferences"); this.config = new NetConfigurationData(getPreferences()); System.out.println("After getPreferences"); this.service = new ConfigurationS...
protected void startPlugin() throws PluginException { this.processor = new ConfigurationProcessor(); System.out.println("Before getPreferences"); this.config = new NetConfigurationData(getPreferences()); this.service = new ConfigurationServiceImpl(processor, config); this.m...
27,048
protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) { if (b.hasFocus() && b.isFocusPainted()) { Color savedColor = g.getColor(); g.setColor(getFocusColor()); Rectangle focusRect = iconRect.union(textRect); g.drawRect(fo...
protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) { if (b.hasFocus() && b.isFocusPainted()) { Color savedColor = g.getColor(); g.setColor(getFocusColor()); Rectangle focusRect = iconRect.union(textRect); g.drawRect(fo...
27,049
protected String getPropertyPrefix() { return "Button"; }
protected String getPropertyPrefix() { return "Button."; }
27,050
protected void installDefaults(AbstractButton b) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); String prefix = getPropertyPrefix(); focusColor = defaults.getColor(prefix + ".focus"); b.setForeground(defaults.getColor(prefix + ".foreground")); b.setBackground(defaults.getColor(prefix + "....
protected void installDefaults(AbstractButton b) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); String prefix = getPropertyPrefix(); focusColor = defaults.getColor(prefix + ".focus"); b.setForeground(defaults.getColor(prefix + ".foreground")); b.setBackground(defaults.getColor(prefix + "....
27,051
protected void installDefaults(AbstractButton b) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); String prefix = getPropertyPrefix(); focusColor = defaults.getColor(prefix + ".focus"); b.setForeground(defaults.getColor(prefix + ".foreground")); b.setBackground(defaults.getColor(prefix + "....
protected void installDefaults(AbstractButton b) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); String prefix = getPropertyPrefix(); focusColor = defaults.getColor(prefix + ".focus"); b.setForeground(defaults.getColor(prefix + ".foreground")); b.setBackground(defaults.getColor(prefix + "....
27,052
public byte[] getDataBlock(long i) throws IOException { //get the direct blocks (0; 11) if(i<12) return fs.getBlock( Ext2Utils.get32(data,40+(int)i*4) ); //see the indirect blocks (12; indirectCount-1) int indirectCount = fs.getSuperblock().getBlockSize() << 2; //a block index is 4 bytes long if(i<12+indirectCo...
public byte[] getDataBlock(long i) throws IOException { //get the direct blocks (0; 11) if(i<12) return fs.getBlock( Ext2Utils.get32(data,40+(int)i*4) ); //see the indirect blocks (12; indirectCount-1) int indirectCount = fs.getSuperblock().getBlockSize() >> 2; //a block index is 4 bytes long if(i<12+indirectCo...
27,053
public byte[] getBlock(long nr) throws IOException{ if(isClosed()) throw new IOException("FS closed (fs instance: "+this+")"); //log.debug("blockCache size: "+blockCache.size()); int blockSize = superblock.getBlockSize(); Block result; Integer key=new Integer((int)(nr)); synchronized(blockCache) { ...
public byte[] getBlock(long nr) throws IOException{ if(isClosed()) throw new IOException("FS closed (fs instance: "+this+")"); //log.debug("blockCache size: "+blockCache.size()); int blockSize = superblock.getBlockSize(); Block result; Integer key=new Integer((int)(nr)); synchronized(blockCache) { ...
27,054
public boolean dispatchEvent (AWTEvent e) { if (e instanceof WindowEvent) { Window target = (Window) e.getSource (); if (e.id == WindowEvent.WINDOW_ACTIVATED) setGlobalActiveWindow (target); else if (e.id == WindowEvent.WINDOW_GAINED_FOCUS) setGlobalFocusedWindow (targe...
public boolean dispatchEvent (AWTEvent e) { if (e instanceof WindowEvent) { Window target = (Window) e.getSource (); if (e.id == WindowEvent.WINDOW_ACTIVATED) setGlobalActiveWindow (target); else if (e.id == WindowEvent.WINDOW_GAINED_FOCUS) setGlobalFocusedWindow (targe...
27,055
public boolean dispatchEvent (AWTEvent e) { if (e instanceof WindowEvent) { Window target = (Window) e.getSource (); if (e.id == WindowEvent.WINDOW_ACTIVATED) setGlobalActiveWindow (target); else if (e.id == WindowEvent.WINDOW_GAINED_FOCUS) setGlobalFocusedWindow (targe...
public boolean dispatchEvent (AWTEvent e) { if (e instanceof WindowEvent) { Window target = (Window) e.getSource (); if (e.id == WindowEvent.WINDOW_ACTIVATED) setGlobalActiveWindow (target); else if (e.id == WindowEvent.WINDOW_GAINED_FOCUS) setGlobalFocusedWindow (targe...
27,056
public boolean dispatchEvent (AWTEvent e) { if (e instanceof WindowEvent) { Window target = (Window) e.getSource (); if (e.id == WindowEvent.WINDOW_ACTIVATED) setGlobalActiveWindow (target); else if (e.id == WindowEvent.WINDOW_GAINED_FOCUS) setGlobalFocusedWindow (targe...
} else if (e.id == FocusEvent.FOCUS_LOST) { } else if (e.id == FocusEvent.FOCUS_LOST) { public} else if (e.id == FocusEvent.FOCUS_LOST) { boolean} else if (e.id == FocusEvent.FOCUS_LOST) { dispatchEvent} else if (e.id == FocusEvent.FOCUS_LOST) { (AWTEvent} else if (e.id == FocusEvent.FOCUS_LOST) { e)} else if (e.id == ...
27,057
protected abstract void dequeueKeyEvents(long after, Component untilFocused);
protected abstract void dequeueKeyEvents(long after, Component untilFocused);
27,058
protected abstract void discardKeyEvents(Component comp);
protected abstract void discardKeyEvents(Component comp);
27,059
protected void setGlobalActiveWindow(Window window) { // XXX Should this send focus events to the windows involved? firePropertyChange("activeWindow", activeWindow, window); try { fireVetoableChange("activeWindow", activeWindow, window); activeWindow = window; } catch (PropertyVet...
protected void setGlobalActiveWindow(Window window) { // XXX Should this send focus events to the windows involved? firePropertyChange("activeWindow", activeWindow, window); try { fireVetoableChange("activeWindow", activeWindow, window); activeWindow = window; } catch (PropertyVet...
27,060
protected void setGlobalFocusedWindow(Window window) { // XXX Should this send focus events to the windows involved? if (window == null || window.focusable) { firePropertyChange("focusedWindow", focusedWindow, window); try { fireVetoableChange("focusedWindow", focusedWind...
protected void setGlobalFocusedWindow (Window window) { // XXX Should this send focus events to the windows involved? if (window == null || window.focusable) { firePropertyChange("focusedWindow", focusedWindow, window); try { fireVetoableChange("focusedWindow", focusedWin...
27,061
protected void setGlobalFocusedWindow(Window window) { // XXX Should this send focus events to the windows involved? if (window == null || window.focusable) { firePropertyChange("focusedWindow", focusedWindow, window); try { fireVetoableChange("focusedWindow", focusedWind...
protectedvoidsetGlobalFocusedWindow(Windowwindow){//XXXShouldthissendfocuseventstothewindowsinvolved?if(window==null||window.focusable){firePropertyChange("focusedWindow",focusedWindow,window);try{fireVetoableChange("focusedWindow",focusedWindow,window);focusedWindow=window;}catch(PropertyVetoExceptione){}}}
27,062
protected void setGlobalFocusedWindow(Window window) { // XXX Should this send focus events to the windows involved? if (window == null || window.focusable) { firePropertyChange("focusedWindow", focusedWindow, window); try { fireVetoableChange("focusedWindow", focusedWind...
protected void setGlobalFocusedWindow(Window window) { // XXX Should this send focus events to the windows involved? if (window == null || window.focusable) { firePropertyChange("focusedWindow", focusedWindow, window); try { fireVetoableChange("focusedWindow", focusedWind...
27,063
public final void redispatchEvent(Component target, AWTEvent e) { throw new Error("not implemented"); }
public final void redispatchEvent (Component target, AWTEvent e) { throw new Error("not implemented"); }
27,064
public final void redispatchEvent(Component target, AWTEvent e) { throw new Error("not implemented"); }
public final void redispatchEvent(Component target, AWTEvent e) { e.setSource (target); dispatchEvent (e); }
27,065
protected void setGlobalFocusOwner(Component owner) { // XXX Should this send focus events to the components involved? if (owner == null || owner.focusable) { firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); ...
protected void setGlobalFocusOwner (Component owner) { // XXX Should this send focus events to the components involved? if (owner == null || owner.focusable) { firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); ...
27,066
protected void setGlobalFocusOwner(Component owner) { // XXX Should this send focus events to the components involved? if (owner == null || owner.focusable) { firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); ...
protectedvoidsetGlobalFocusOwner(Componentowner){//XXXShouldthissendfocuseventstothecomponentsinvolved?if(owner==null||owner.focusable){firePropertyChange("focusOwner",focusOwner,owner);try{fireVetoableChange("focusOwner",focusOwner,owner);focusOwner=owner;}catch(PropertyVetoExceptione){}}}
27,067
protected void setGlobalFocusOwner(Component owner) { // XXX Should this send focus events to the components involved? if (owner == null || owner.focusable) { firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); ...
protected void setGlobalFocusOwner(Component owner) { // XXX Should this send focus events to the components involved? if (owner == null || owner.focusable) { firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); ...
27,068
protected void setGlobalFocusOwner(Component owner) { // XXX Should this send focus events to the components involved? if (owner == null || owner.focusable) { firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); ...
protected void setGlobalFocusOwner(Component owner) { // XXX Should this send focus events to the components involved? if (owner == null || owner.focusable) { firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); ...
27,069
protected void setGlobalPermanentFocusOwner(Component focusOwner) { // XXX Should this send focus events to the components involved? if (focusOwner == null || focusOwner.focusable) { firePropertyChange("permanentFocusOwner", permanentFocusOwner, focusOwner); try ...
protected void setGlobalPermanentFocusOwner(Component focusOwner) { // XXX Should this send focus events to the components involved? if (focusOwner == null || focusOwner.focusable) { firePropertyChange("permanentFocusOwner", permanentFocusOwner, focusOwner); try ...
27,070
protected void setGlobalPermanentFocusOwner(Component focusOwner) { // XXX Should this send focus events to the components involved? if (focusOwner == null || focusOwner.focusable) { firePropertyChange("permanentFocusOwner", permanentFocusOwner, focusOwner); try ...
protected void setGlobalPermanentFocusOwner(Component focusOwner) { // XXX Should this send focus events to the components involved? if (focusOwner == null || focusOwner.focusable) { firePropertyChange("permanentFocusOwner", permanentFocusOwner, focusOwner); try ...
27,071
protected void setGlobalPermanentFocusOwner(Component focusOwner) { // XXX Should this send focus events to the components involved? if (focusOwner == null || focusOwner.focusable) { firePropertyChange("permanentFocusOwner", permanentFocusOwner, focusOwner); try ...
protected void setGlobalPermanentFocusOwner(Component focusOwner) { // XXX Should this send focus events to the components involved? if (focusOwner == null || focusOwner.focusable) { firePropertyChange("permanentFocusOwner", permanentFocusOwner, focusOwner); try ...
27,072
protected List getKeyEventDispatchers() { return (List) keyEventDispatchers.clone(); }
protected List getKeyEventDispatchers () { return (List) keyEventDispatchers.clone(); }
27,073
protected List getKeyEventDispatchers() { return (List) keyEventDispatchers.clone(); }
protected List getKeyEventDispatchers() { return (List) keyEventDispatchers.clone (); }
27,074
protected Component getGlobalPermanentFocusOwner() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return permanentFocusOwner == null ? focusOwner : permanentFocusOwner; }
protected Component getGlobalPermanentFocusOwner() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return permanentFocusOwner == null ? focusOwner : permanentFocusOwner; }
27,075
public abstract boolean dispatchKeyEvent(KeyEvent e);
public abstract boolean dispatchKeyEvent(KeyEvent e);
27,076
protected List getKeyEventPostProcessors() { return (List) keyEventPostProcessors.clone(); }
protected List getKeyEventPostProcessors () { return (List) keyEventPostProcessors.clone(); }
27,077
protected List getKeyEventPostProcessors() { return (List) keyEventPostProcessors.clone(); }
protected List getKeyEventPostProcessors() { return (List) keyEventPostProcessors.clone (); }
27,078
protected void setGlobalCurrentFocusCycleRoot(Container cycleRoot) { firePropertyChange("currentFocusCycleRoot", focusCycleRoot, cycleRoot); focusCycleRoot = cycleRoot; }
public void setGlobalCurrentFocusCycleRoot (Container cycleRoot) { firePropertyChange("currentFocusCycleRoot", focusCycleRoot, cycleRoot); focusCycleRoot = cycleRoot; }
27,079
protected void setGlobalCurrentFocusCycleRoot(Container cycleRoot) { firePropertyChange("currentFocusCycleRoot", focusCycleRoot, cycleRoot); focusCycleRoot = cycleRoot; }
protected void setGlobalCurrentFocusCycleRoot(Container cycleRoot) { firePropertyChange("currentFocusCycleRoot", focusCycleRoot, cycleRoot); focusCycleRoot = cycleRoot; }
27,080
protected abstract void enqueueKeyEvents(long after, Component untilFocused);
protected abstract void enqueueKeyEvents(long after, Component untilFocused);
27,081
public abstract void focusNextComponent(Component comp);
public abstract void focusNextComponent(Component comp);
27,082
protected Component getGlobalFocusOwner() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return focusOwner; }
protected Component getGlobalFocusOwner () { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return focusOwner; }
27,083
protected Component getGlobalFocusOwner() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return focusOwner; }
protected Component getGlobalFocusOwner() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. Component focusOwner = (Component) getGlobalObject (currentFocusOwners); return (focusOwner == null) ? getGloba...
27,084
public abstract void focusPreviousComponent(Component comp);
public abstract void focusPreviousComponent(Component comp);
27,085
public abstract boolean postProcessKeyEvent(KeyEvent e);
public abstract boolean postProcessKeyEvent(KeyEvent e);
27,086
protected Window getGlobalFocusedWindow() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return focusedWindow; }
protected Window getGlobalFocusedWindow () { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return focusedWindow; }
27,087
protected Window getGlobalFocusedWindow() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return focusedWindow; }
protected Window getGlobalFocusedWindow() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return (Window) getGlobalObject (currentFocusedWindows); }
27,088
getMenuCount(){ // FIXME: How does the help menu fit in here? return(menus.size());}
getMenuCount(){ // FIXME: How does the help menu fit in here? return(menus.size());}
27,089
public int getItemCount() { return (items.size()); }
public int getItemCount() { return (items.size()); }
27,090
public MenuItem getItem(int index) { return ((MenuItem) items.elementAt(index)); }
public MenuItem getItem(int index) { return ((MenuItem) items.elementAt(index)); }
27,091
public abstract void processKeyEvent(Component focused, KeyEvent e);
public abstract void processKeyEvent(Component focused, KeyEvent e);
27,092
public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers, boolean release) { return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, keyCode, extend(modifiers), release); }
public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers, boolean release) { return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, keyCode, extend(modifiers), release); }
27,093
public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers, boolean release) { return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, keyCode, extend(modifiers), release); }
public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers, boolean release) { return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, keyCode, extend(modifiers), release); }
27,094
public abstract void upFocusCycle(Component comp);
public abstract void upFocusCycle(Component comp);
27,095
public abstract void setLabel(String label);
public abstract void setLabel(String label);
27,096
public abstract float get ();
public abstract float get ();
27,098
public static ByteOrder nativeOrder() { return BIG_ENDIAN; }
public static ByteOrder nativeOrder() { return (System.getProperty ("gnu.cpu.endian").equals("big") ? BIG_ENDIAN : LITTLE_ENDIAN); }
27,099
public abstract FloatBuffer put (float b);
public abstract FloatBuffer put (float b);
27,100
private MyClassLoader (URL[] urls, ClassLoader parent, String annotation) { super (urls, parent); this.annotation = annotation; }
MyClassLoader (URL[] urls, ClassLoader parent, String annotation) { super (urls, parent); this.annotation = annotation; }
27,101
public URLClassLoader(URL[] urls, ClassLoader parent) throws SecurityException { super(parent); this.factory = null; this.securityContext = null; addURLs(urls); }
public URLClassLoader(URL[] urls, ClassLoader parent) throws SecurityException { super(parent); this.factory = null; this.securityContext = null; addURLs(urls); }
27,102
public URLClassLoader(URL[] urls, ClassLoader parent) throws SecurityException { super(parent); this.factory = null; this.securityContext = null; addURLs(urls); }
public URLClassLoader(URL[] urls, ClassLoader parent) throws SecurityException { super(); this.factory = null; this.securityContext = null; addURLs(urls); }
27,103
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
27,104
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
27,105
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
27,106
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
27,107
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
27,108
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ...
27,109
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_string); }
public static TypeCode type() { return new ArrayTypeCode(TCKind.tk_string); }
27,110
protected AccessibleJSplitPane(JSplitPane value0) { super(value0); }
protected AccessibleJSplitPane() { super(value0); }
27,111
protected AccessibleJSplitPane(JSplitPane value0) { super(value0); }
protected AccessibleJSplitPane(JSplitPane value0) { }
27,112
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJSplitPane(this); return accessibleContext; }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJSplitPane(); return accessibleContext; }
27,113
public boolean isDesignTime();
public boolean isDesignTime();
27,114
public void setDesignTime(boolean designTime);
public void setDesignTime(boolean designTime);
27,115
public JScrollBar(int orientation) { this(orientation, 0, 10, 0, 100); }
public JScrollBar() { this(orientation, 0, 10, 0, 100); }
27,116
public JScrollBar(int orientation) { this(orientation, 0, 10, 0, 100); }
public JScrollBar(int orientation) { this(SwingConstants.VERTICAL, 0, 10, 0, 100); }
27,117
public Dimension getViewSize() { if (viewSize == null) return getView().getPreferredSize(); else return viewSize; }
public Dimension getViewSize() { if (viewSize == null) return getView().getPreferredSize(); else return viewSize; }
27,118
public Dimension getViewSize() { if (viewSize == null) return getView().getPreferredSize(); else return viewSize; }
public Dimension getViewSize() { if (viewSize == null) return getView().getPreferredSize(); else return getView().getSize(); }
27,119
public void syncWithScrollPane(JScrollPane scrollPane) { viewport = scrollPane.getViewport(); verticalScrollBar = scrollPane.getVerticalScrollBar(); horizontalScrollBar = scrollPane.getHorizontalScrollBar(); verticalScrollBarPolicy = scrollPane.getVerticalScrollBarPolicy(); horizontalScrollBarPolicy = ...
public void syncWithScrollPane(JScrollPane scrollPane) { viewport = scrollPane.getViewport(); verticalScrollBar = scrollPane.getVerticalScrollBar(); horizontalScrollBar = scrollPane.getHorizontalScrollBar(); verticalScrollBarPolicy = scrollPane.getVerticalScrollBarPolicy(); horizontalScrollBarPolicy = ...
27,120
public VmType findLoadedClass(String name) { if (classInfos != null) { if (name.indexOf('/') >= 0) { throw new IllegalArgumentException( "name contains '/'"); } final ClassInfo ci = getClassInfo(name, false); if (ci != null) { try { ...
public VmType findLoadedClass(String name) { if (classInfos != null) { if (name.indexOf('/') >= 0) { throw new IllegalArgumentException( "name contains '/'"); } final ClassInfo ci = getClassInfo(name, false); if (ci != null) { try { ...
27,121
public void compileRuntime(VmMethod method, ObjectResolver resolver, int level, NativeStream os) { if (method.isNative()) { throw new IllegalArgumentException("Cannot compile native methods"); } // long start = System.currentTimeMillis(); // System.out.println("Comp...
public void compileRuntime(VmMethod method, ObjectResolver resolver, int level, NativeStream os) { if (method.isNative()) { throw new IllegalArgumentException("Cannot compile native methods"); } // long start = System.currentTimeMillis(); // System.out.println("Comp...
27,122
public boolean nameEquals(String otherName) { return name.equals(otherName); }
public boolean nameEquals(String otherName) { return name.equals(otherName); }
27,123
public static final VmType defineClass( String className, byte[] data, int offset, int class_image_length, boolean rejectNatives, AbstractVmClassLoader clc, SelectorMap selectorMap, VmStatics statics) { cl_init(); VmType cls = decodeClass(data, offset, class_image_length, rejectNatives, clc, selectorMap, sta...
public static final VmType defineClass( String className, byte[] data, int offset, int class_image_length, boolean rejectNatives, AbstractVmClassLoader clc, SelectorMap selectorMap, VmStatics statics) { cl_init(); VmType cls = decodeClass(data, offset, class_image_length, rejectNatives, clc, selectorMap, sta...
27,124
UTF_16() { super("UTF-16", null); }
UTF_16() { super("UTF-16", null); }
27,125
public boolean contains(Charset cs) { return cs instanceof US_ASCII || cs instanceof ISO_8859_1 || cs instanceof UTF_8 || cs instanceof UTF_16BE || cs instanceof UTF_16LE || cs instanceof UTF_16; }
public boolean contains(Charset cs) { return cs instanceof US_ASCII || cs instanceof ISO_8859_1 || cs instanceof UTF_8 || cs instanceof UTF_16BE || cs instanceof UTF_16LE || cs instanceof UTF_16; }
27,126
public CharsetDecoder newDecoder() { return new UTF_16Decoder(this, UTF_16Decoder.UNKNOWN_ENDIAN); }
public CharsetDecoder newDecoder() { return new UTF_16Decoder(this, UTF_16Decoder.UNKNOWN_ENDIAN); }
27,127
public CharsetEncoder newEncoder() { return new UTF_16Encoder(this, UTF_16Encoder.BIG_ENDIAN, false); }
public CharsetEncoder newEncoder() { return new UTF_16Encoder(this, UTF_16Encoder.BIG_ENDIAN, false); }
27,128
public abstract void read(cdrInput in);
public abstract void read(cdrInput in);
27,129
public abstract void write(cdrOutput out);
public abstract void write(cdrOutput out);
27,130
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...
27,131
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_long); }
public static TypeCode type() { return new ArrayTypeCode(TCKind.tk_long); }
27,132
public static ClassLoader getCallingClassLoader() { Class[] ctx = getClassContext(); if (ctx.length < 3) return null; return ctx[2].getClassLoader(); }
public static ClassLoader getCallingClassLoader() { Class[] ctx = getClassContext(); if (ctx.length < 3) return null; return ctx[2].getClassLoader(); }
27,133
public static ClassLoader getCallingClassLoader() { Class[] ctx = getClassContext(); if (ctx.length < 3) return null; return ctx[2].getClassLoader(); }
public static ClassLoader getCallingClassLoader() { Class[] ctx = getClassContext(); if (ctx.length < 3) return null; return ctx[2].getClassLoader(); }
27,134