bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public abstract void dontUseGui();
void dontUseGui();
16,964
public abstract boolean needsGui();
boolean needsGui();
16,965
public abstract void okToUseGui();
void okToUseGui();
16,966
public JMenuItem() { this(null, null); }
public JMenuItem() { super(null, null); }
16,967
public void insert(Component component, int index) { super.add(component, index); }
public void insert(Action action, int index) { super.add(component, index); }
16,968
public void insert(Component component, int index) { super.add(component, index); }
public void insert(Component component, int index) { JMenuItem item = new JMenuItem(action); this.insert(item, index); }
16,969
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJMenuItem(this); return accessibleContext; }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJMenuItem(); return accessibleContext; }
16,970
public String[] list(File directory, FilenameFilter filter) throws IOException { final FSEntry entry = getEntry(directory); if (entry == null) { throw new FileNotFoundException(directory.getAbsolutePath()); } if (!entry.isDirectory()) { throw new IOException("Cannot list on non-directories " + directory); } ...
public String[] list(File directory, FilenameFilter filter) throws IOException { final FSEntry entry = getEntry(directory); if (entry == null) { throw new FileNotFoundException(directory.getAbsolutePath()); } if (!entry.isDirectory()) { throw new IOException("Cannot list on non-directories " + directory); } ...
16,972
protected void createDefaultTheme() { if (theme == null) setCurrentTheme(new DefaultMetalTheme()); }
protected void createDefaultTheme() { if (theme == null) setCurrentTheme(new OceanTheme()); }
16,973
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get...
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get...
16,974
public MenuElement[] getSelectedPath () { MenuElement[] path = new MenuElement[selection.size ()]; for (int i = 0; i < path.length; i++) path[i] = (MenuElement) selection.get (i); return path; }
public MenuElement[] getSelectedPath () { MenuElement[] path = new MenuElement[selectedPath.size()]; for (int i = 0; i < path.length; i++) path[i] = (MenuElement) selection.get (i); return path; }
16,976
public MenuElement[] getSelectedPath () { MenuElement[] path = new MenuElement[selection.size ()]; for (int i = 0; i < path.length; i++) path[i] = (MenuElement) selection.get (i); return path; }
public MenuElement[] getSelectedPath () { MenuElement[] path = new MenuElement[selection.size ()]; for (int i = 0; i < path.length; i++) path[i] = (MenuElement) selectedPath.get(i); return path; }
16,977
public synchronized static void setSecurityManager(SecurityManager sm) { // Implementation note: the field lives in Runtime because of bootstrap // initialization issues. This method is synchronized so that no other // thread changes it to null before this thread makes the change. if (Runtime.securityMan...
public static synchronized void setSecurityManager(SecurityManager sm) { // Implementation note: the field lives in Runtime because of bootstrap // initialization issues. This method is synchronized so that no other // thread changes it to null before this thread makes the change. if (Runtime.securityMan...
16,978
static InputStream makeStandardInputStream() { return new ByteArrayInputStream(new byte[0]); }
static InputStream makeStandardInputStream() { return new EmptyInputStream(); }
16,979
public void exit(int status) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkExit(status); if (runShutdownHooks()) halt(status); // Someone else already called runShutdownHooks(). // Make sure we are not/no longer in the shutdownHooks set. // And wait ti...
public void exit(int status) { SecurityManager sm = SecurityManager.current; // Be thread-safe! if (sm != null) sm.checkExit(status); if (runShutdownHooks()) halt(status); // Someone else already called runShutdownHooks(). // Make sure we are not/no longer in the shutdownHooks set. // And...
16,980
public void load(String filename) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkLink(filename); if (loadLib(filename) == 0) throw new UnsatisfiedLinkError("Could not load library " + filename); }
public void load(String filename) { SecurityManager sm = SecurityManager.current; // Be thread-safe! if (sm != null) sm.checkLink(filename); if (loadLib(filename) == 0) throw new UnsatisfiedLinkError("Could not load library " + filename); }
16,982
public void loadLibrary(String libname) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkLink(libname); String filename; ClassLoader cl = VMSecurityManager.currentClassLoader(); if (cl != null) { filename = cl.findLibrary(libname); if (filename...
public void loadLibrary(String libname) { SecurityManager sm = SecurityManager.current; // Be thread-safe! if (sm != null) sm.checkLink(libname); String filename; ClassLoader cl = VMSecurityManager.currentClassLoader(); if (cl != null) { filename = cl.findLibrary(libname); if (...
16,983
public void loadLibrary(String libname) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkLink(libname); String filename; ClassLoader cl = VMSecurityManager.currentClassLoader(); if (cl != null) { filename = cl.findLibrary(libname); if (filename...
public void loadLibrary(String libname) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkLink(libname); String filename; ClassLoader cl = VMSecurityManager.currentClassLoader(); if (cl != null) { filename = cl.findLibrary(libname); if (filename...
16,984
public static void runFinalizersOnExit(boolean finalizeOnExit) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkExit(0); VMRuntime.runFinalizersOnExit(finalizeOnExit); }
public static void runFinalizersOnExit(boolean finalizeOnExit) { SecurityManager sm = SecurityManager.current; // Be thread-safe! if (sm != null) sm.checkExit(0); VMRuntime.runFinalizersOnExit(finalizeOnExit); }
16,985
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", Integer.valueOf(cert.getLength())); this.encoded = cert.getEncoded();...
16,986
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
16,987
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
16,988
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
16,989
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
16,990
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
16,991
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
16,992
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
16,993
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 }
16,995
public static boolean isISOControl(char ch) { return getType(ch) == CONTROL; }
public static boolean isISOControl(char ch) { return isISOControl((int)ch); }
16,997
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...
16,998
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; }
16,999
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.m...
17,002
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....
17,003
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...
17,004
protected String getPropertyPrefix() { return "Button"; }
protected String getPropertyPrefix() { return "Button."; }
17,005
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 + "....
17,006
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 + "....
17,007
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...
17,008
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) { ...
protected 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) {...
17,009
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...
17,010
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...
17,011
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...
17,013
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...
17,014
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); }
17,015
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); ...
17,016
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); ...
17,017
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 ...
17,018
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 ...
17,019
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; }
17,020
protected void setGlobalCurrentFocusCycleRoot(Container cycleRoot) { firePropertyChange("currentFocusCycleRoot", focusCycleRoot, cycleRoot); focusCycleRoot = cycleRoot; }
public void setGlobalCurrentFocusCycleRoot (Container cycleRoot) { firePropertyChange("currentFocusCycleRoot", focusCycleRoot, cycleRoot); focusCycleRoot = cycleRoot; }
17,021
protected void setGlobalCurrentFocusCycleRoot(Container cycleRoot) { firePropertyChange("currentFocusCycleRoot", focusCycleRoot, cycleRoot); focusCycleRoot = cycleRoot; }
protected void setGlobalCurrentFocusCycleRoot(Container cycleRoot) { firePropertyChange("currentFocusCycleRoot", focusCycleRoot, cycleRoot); focusCycleRoot = cycleRoot; }
17,022
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) ? getGlo...
17,023
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); }
17,024
getMenuCount(){ // FIXME: How does the help menu fit in here? return(menus.size());}
getMenuCount(){ // FIXME: How does the help menu fit in here? return countMenus ();}
17,025
public int getItemCount() { return (items.size()); }
public int getItemCount() { return (items.size()); }
17,026
public MenuItem getItem(int index) { return ((MenuItem) items.elementAt(index)); }
public MenuItem getItem(int index) { return ((MenuItem) items.elementAt(index)); }
17,027
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); }
17,028
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); }
17,029
public abstract void setLabel(String label);
void setLabel (String label);
17,030
public static ByteOrder nativeOrder() { return BIG_ENDIAN; }
public static ByteOrder nativeOrder() { return (System.getProperty ("gnu.cpu.endian").equals("big") ? BIG_ENDIAN : LITTLE_ENDIAN); }
17,032
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; }
17,033
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 ...
17,034
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 ...
17,035
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 ...
17,036
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 ...
17,037
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 ...
17,038
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 ...
17,039
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_string); }
public static TypeCode type() { return new ArrayTypeCode(TCKind.tk_string); }
17,040
protected AccessibleJSplitPane(JSplitPane value0) { super(value0); }
protected AccessibleJSplitPane() { super(value0); }
17,041
protected AccessibleJSplitPane(JSplitPane value0) { super(value0); }
protected AccessibleJSplitPane(JSplitPane value0) { }
17,042
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJSplitPane(this); return accessibleContext; }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJSplitPane(); return accessibleContext; }
17,043
public boolean isDesignTime();
boolean isDesignTime();
17,044
public void setDesignTime(boolean designTime);
void setDesignTime(boolean designTime);
17,045
public Dimension getViewSize() { if (viewSize == null) return getView().getPreferredSize(); else return viewSize; }
public Dimension getViewSize() { if (viewSize == null) return getView().getPreferredSize(); else return viewSize; }
17,046
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(); }
17,047
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 = ...
17,048
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 { ...
17,049
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...
17,050
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, VmClassLoader clc, SelectorMap selectorMap, VmStatics statics) { cl_init(); VmType cls = decodeClass(data, offset, class_image_length, rejectNatives, clc, selectorMap, statics); ...
17,051
public abstract void read(cdrInput in);
public abstract void read(AbstractCdrInput in);
17,052
public abstract void write(cdrOutput out);
public abstract void write(AbstractCdrOutput out);
17,053
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_long); }
public static TypeCode type() { return new ArrayTypeCode(TCKind.tk_long); }
17,054
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 < 5) return null; return ctx[2].getClassLoader(); }
17,055
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[4].getClassLoader(); }
17,056
public static double getDouble (ByteBuffer buffer, int index, ByteOrder order) { return Double.longBitsToDouble (getLong (buffer, index, order)); }
public static double getDouble (ByteBuffer buffer, ByteOrder order) { return Double.longBitsToDouble (getLong (buffer, index, order)); }
17,057
public static double getDouble (ByteBuffer buffer, int index, ByteOrder order) { return Double.longBitsToDouble (getLong (buffer, index, order)); }
public static double getDouble (ByteBuffer buffer, int index, ByteOrder order) { return Double.longBitsToDouble (getLong (buffer, order)); }
17,058
public static void putDouble (ByteBuffer buffer, int index, double value, ByteOrder order) { putLong (buffer, index, Double.doubleToRawLongBits (value), order); }
public static void putDouble (ByteBuffer buffer, int index, double value, ByteOrder order) { putLong (buffer, index, Double.doubleToRawLongBits (value), order); }
17,059
public static void putDouble (ByteBuffer buffer, int index, double value, ByteOrder order) { putLong (buffer, index, Double.doubleToRawLongBits (value), order); }
public static void putDouble (ByteBuffer buffer, int index, double value, ByteOrder order) { putLong (buffer, Double.doubleToRawLongBits (value), order); }
17,060
public DefaultMutableTreeNode() { // TODO } // DefaultMutableTreeNode()
public DefaultMutableTreeNode() { // TODO } // DefaultMutableTreeNode()
17,061
public void add(MutableTreeNode child) { children.add(child); child.setParent(this); } // add()
public void add(MutableTreeNode child) { if (child == null) throw new IllegalArgumentException(); if (! allowsChildren) throw new IllegalStateException(); children.add(child); child.setParent(this); } // add()
17,062
public Enumeration children() { return children.elements(); } // children()
public Enumeration children() { if (children.size() == 0) return EMPTY_ENUMERATION; return children.elements(); } // children()
17,063
public Object clone() { return null; // TODO } // clone()
public Object clone() { return null; // TODO } // clone()
17,064
public Enumeration depthFirstEnumeration() { return null; // TODO } // depthFirstEnumeration()
public Enumeration depthFirstEnumeration() { return null; // TODO } // depthFirstEnumeration()
17,065
public TreeNode getChildAfter(TreeNode node) { // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child after index++; if (index == getChildCount()) { return n...
public TreeNode getChildAfter(TreeNode node) { if (node == null || node.getParent() != this) throw new IllegalArgumentException(); // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(no...
17,066
public TreeNode getChildAfter(TreeNode node) { // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child after index++; if (index == getChildCount()) { return n...
public TreeNode getChildAfter(TreeNode node) { // Variables int index = getIndex(node) + 1; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child after index++; if (index == getChildC...
17,067
public TreeNode getChildAfter(TreeNode node) { // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child after index++; if (index == getChildCount()) { return n...
public TreeNode getChildAfter(TreeNode node) { // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child after index++; if (index == getChildCount()) { return n...
17,068
public TreeNode getChildAfter(TreeNode node) { // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child after index++; if (index == getChildCount()) { return n...
public TreeNode getChildAfter(TreeNode node) { // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child after index++; if (index == getChildCount()) { return n...
17,069
public TreeNode getChildBefore(TreeNode node) { // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child before index--; if (index < 0) { return null; } // if...
public TreeNode getChildBefore(TreeNode node) { if (node == null || node.getParent() != this) throw new IllegalArgumentException(); // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(n...
17,070
public TreeNode getChildBefore(TreeNode node) { // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child before index--; if (index < 0) { return null; } // if...
public TreeNode getChildBefore(TreeNode node) { // Variables int index = getIndex(node) - 1; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child before index--; if (index < 0) { r...
17,071
public TreeNode getChildBefore(TreeNode node) { // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child before index--; if (index < 0) { return null; } // if...
public TreeNode getChildBefore(TreeNode node) { // Variables int index; // Check node if (node == null || node.getParent() != this) { throw new IllegalArgumentException(); } // if // Get index of child node index = getIndex(node); // Check for child before index--; if (index < 0) { return null; } // if...
17,072