bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
void pop(boolean global) { if (global) { variables.removeFirst(); } else { parameters.removeFirst(); } } | void pop(boolean global) { if (global) { variables.removeFirst(); } else { parameters.removeFirst(); } } | 26,817 |
public Object get(String name, Node context, int pos, int len) { //System.err.println("bindings.get: "+name); //System.err.println("\t"+toString()); Object ret = null; for (Iterator i = variables.iterator(); i.hasNext() && ret == null; ) { Map vctx = (Map) i.next(); ret = vctx.get(name... | public Object get(QName name, Node context, int pos, int len) { //System.err.println("bindings.get: "+name); //System.err.println("\t"+toString()); Object ret = null; for (Iterator i = variables.iterator(); i.hasNext() && ret == null; ) { Map vctx = (Map) i.next(); ret = vctx.get(name)... | 26,819 |
public synchronized void putAll(Map<? extends K, ? extends V> m) { Map<K,V> addMap; addMap = (Map<K,V>) m; for (Map.Entry<K,V> e : addMap.entrySet()) { // Optimize in case the Entry is one of our own. if (e instanceof AbstractMap.BasicMapEntry) { AbstractMap.BasicM... | public synchronized void putAll(Map<? extends K, ? extends V> m) { Map<K,V> addMap; addMap = (Map<K,V>) m; for (Map.Entry<K,V> e : addMap.entrySet()) { // Optimize in case the Entry is one of our own. if (e instanceof AbstractMap.SimpleEntry) { AbstractMap.BasicMap... | 26,821 |
public synchronized void putAll(Map<? extends K, ? extends V> m) { Map<K,V> addMap; addMap = (Map<K,V>) m; for (Map.Entry<K,V> e : addMap.entrySet()) { // Optimize in case the Entry is one of our own. if (e instanceof AbstractMap.BasicMapEntry) { AbstractMap.BasicM... | public synchronized void putAll(Map<? extends K, ? extends V> m) { Map<K,V> addMap; addMap = (Map<K,V>) m; for (Map.Entry<K,V> e : addMap.entrySet()) { // Optimize in case the Entry is one of our own. if (e instanceof AbstractMap.BasicMapEntry) { AbstractMap.BasicM... | 26,822 |
void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | void set(QName name, Object value, int type) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 26,823 |
void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | void set(String name, Object value, boolean global) { switch (type) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 26,824 |
void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 26,825 |
void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 26,826 |
void initTopLevelVariables(Node context) throws TransformerException { for (Iterator i = variables.iterator(); i.hasNext(); ) { ParameterNode var = (ParameterNode) i.next(); bindings.set(var.name, var.getValue(this, null, context, 1, 1), var.global); ... | void initTopLevelVariables(Node context) throws TransformerException { current = context; List topLevel = new ArrayList(variables); Collections.sort(topLevel); for (Iterator i = topLevel.iterator(); i.hasNext(); ) { ParameterNode var = (ParameterNode) i.next(); bindings.set(var.name, ... | 26,827 |
void initTopLevelVariables(Node context) throws TransformerException { for (Iterator i = variables.iterator(); i.hasNext(); ) { ParameterNode var = (ParameterNode) i.next(); bindings.set(var.name, var.getValue(this, null, context, 1, 1), var.global); ... | void initTopLevelVariables(Node context) throws TransformerException { for (Iterator i = variables.iterator(); i.hasNext(); ) { ParameterNode var = (ParameterNode) i.next(); bindings.set(var.name, var.getValue(this, null, context, 1, 1), var.type); ... | 26,828 |
public StreamSerializer(int mode, String encoding, String eol) { this.mode = mode; if (encoding == null) { encoding = "UTF-8"; } this.encoding = encoding.intern(); charset = Charset.forName(this.encoding); encoder = charset.newEncoder(); this.eol = (eol != null) ? eol : System.getP... | public StreamSerializer() { this.mode = mode; if (encoding == null) { encoding = "UTF-8"; } this.encoding = encoding.intern(); charset = Charset.forName(this.encoding); encoder = charset.newEncoder(); this.eol = (eol != null) ? eol : System.getProperty("line.separator"); namespa... | 26,830 |
public StreamSerializer(int mode, String encoding, String eol) { this.mode = mode; if (encoding == null) { encoding = "UTF-8"; } this.encoding = encoding.intern(); charset = Charset.forName(this.encoding); encoder = charset.newEncoder(); this.eol = (eol != null) ? eol : System.getP... | public StreamSerializer(int mode, String encoding, String eol) { this.mode = mode; if (encoding == null) { encoding = "UTF-8"; } this.encoding = encoding.intern(); charset = Charset.forName(this.encoding); encoder = charset.newEncoder(); this.eol = (eol != null) ? eol : System.getP... | 26,831 |
public byte[] getEncoded() { return name.getEncoded(); } | public byte[] getEncoded() { if (encoded == null) encodeDer(); return (byte[]) encoded.clone(); } | 26,832 |
Monitor(VmThread owner, int lockCount, Object object) { this.owner = owner; this.lockCount = lockCount; if (lockCount < 1) { throw new IllegalArgumentException("LockCount must be >= 1"); } this.object = object; this.mutex = new ProcessorLock(); this.enterQ... | Monitor(VmThread owner, int lockCount, Object object) { this.owner = owner; this.lockCount = lockCount; if (lockCount < 1) { throw new IllegalArgumentException("LockCount must be >= 1"); } this.object = object; this.mutex = new ProcessorLock(); this.enterQ... | 26,834 |
public static void warn(String msg) { log(WARN, System.out, msg, null); } | public static void warn(String msg) { log(WARN, System.out, msg, null); } | 26,835 |
public static TimeZone getDefault() { return defaultZone; } | public static TimeZone getDefault() { return defaultZone; } | 26,837 |
public static synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // If the default locale changed since the last time we were called, // all cache entries are invalidated. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefaultLocale)... | public static synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // If the default locale changed since the last time we were called, // all cache entries are invalidated. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefaultLocale)... | 26,838 |
public static synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // If the default locale changed since the last time we were called, // all cache entries are invalidated. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefaultLocale)... | public static synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // If the default locale changed since the last time we were called, // all cache entries are invalidated. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefaultLocale)... | 26,839 |
public GregorianCalendar(TimeZone zone, Locale locale) { this(zone, locale, false); setTimeInMillis(System.currentTimeMillis()); complete(); } | public GregorianCalendar() { this(zone, locale, false); setTimeInMillis(System.currentTimeMillis()); complete(); } | 26,840 |
public GregorianCalendar(TimeZone zone, Locale locale) { this(zone, locale, false); setTimeInMillis(System.currentTimeMillis()); complete(); } | public GregorianCalendar(TimeZone zone, Locale locale) { this(zone, locale, false); setTimeInMillis(System.currentTimeMillis()); complete(); } | 26,841 |
public void schedule(TimerTask task, long delay, long period) { positiveDelay(delay); positivePeriod(period); long time = System.currentTimeMillis() + delay; schedule(task, time, period, false); } | private void schedule(TimerTask task, long time, long period, boolean fixed) { positiveDelay(delay); positivePeriod(period); long time = System.currentTimeMillis() + delay; schedule(task, time, period, false); } | 26,842 |
public void schedule(TimerTask task, long delay, long period) { positiveDelay(delay); positivePeriod(period); long time = System.currentTimeMillis() + delay; schedule(task, time, period, false); } | public void schedule(TimerTask task, long delay, long period) { positiveDelay(delay); positivePeriod(period); long time = System.currentTimeMillis() + delay; schedule(task, time, period, false); } | 26,843 |
protected abstract void startPlugin() throws PluginException; | protected abstract void startPlugin() throws PluginException; | 26,845 |
protected abstract void stopPlugin() throws PluginException; | protected abstract void stopPlugin() throws PluginException; | 26,846 |
public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); if (in == null) throw new NullPointerException("in may not be null"); if (inf == null) throw new NullPointerException("inf may not be null"); if (size < 0) throw new IllegalArgumentException("size may not ... | public InflaterInputStream(InputStream in) { super(in); if (in == null) throw new NullPointerException("in may not be null"); if (inf == null) throw new NullPointerException("inf may not be null"); if (size < 0) throw new IllegalArgumentException("size may not be negative"); this.i... | 26,847 |
public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); if (in == null) throw new NullPointerException("in may not be null"); if (inf == null) throw new NullPointerException("inf may not be null"); if (size < 0) throw new IllegalArgumentException("size may not ... | public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); if (in == null) throw new NullPointerException("in may not be null"); if (inf == null) throw new NullPointerException("inf may not be null"); if (size < 0) throw new IllegalArgumentException("size may not ... | 26,848 |
public int read(byte[] b, int off, int len) throws IOException { if (inf == null) throw new IOException("stream closed"); if (len == 0) return 0; int count = 0; for (;;) { try { count = inf.inflate(b, off, len); } catch (DataFormatException dfe) { throw new ZipException(df... | public int read(byte[] b, int off, int len) throws IOException { if (inf == null) throw new IOException("stream closed"); if (len == 0) return 0; int count = 0; for (;;) { try { count = inf.inflate(b, off, len); } catch (DataFormatException dfe) { throw new ZipException(df... | 26,849 |
public void setInput (byte[] buf, int off, int len) { input.setInput (buf, off, len); totalIn += len; } | public void setInput (byte[] buf) { input.setInput (buf, off, len); totalIn += len; } | 26,850 |
public void setInput (byte[] buf, int off, int len) { input.setInput (buf, off, len); totalIn += len; } | public void setInput (byte[] buf, int off, int len) { input.setInput (buf, off, len); totalIn += len; } | 26,851 |
public int inflate (byte[] buf, int off, int len) throws DataFormatException { /* Special case: len may be zero */ if (len == 0) return 0; /* Check for correct buff, off, len triple */ if (0 > off || off > off + len || off + len > buf.length) throw new ArrayIndexOutOfBoundsException(); int c... | public int inflate (byte[] buf) throws DataFormatException { /* Special case: len may be zero */ if (len == 0) return 0; /* Check for correct buff, off, len triple */ if (0 > off || off > off + len || off + len > buf.length) throw new ArrayIndexOutOfBoundsException(); int count = 0; int m... | 26,852 |
public int inflate (byte[] buf, int off, int len) throws DataFormatException { /* Special case: len may be zero */ if (len == 0) return 0; /* Check for correct buff, off, len triple */ if (0 > off || off > off + len || off + len > buf.length) throw new ArrayIndexOutOfBoundsException(); int c... | public int inflate (byte[] buf, int off, int len) throws DataFormatException { /* Special case: len may be zero */ if (len == 0) return 0; /* Check for correct buff, off, len triple */ if (0 > off || off > off + len || off + len > buf.length) throw new ArrayIndexOutOfBoundsException(); int c... | 26,853 |
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafI... | public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafI... | 26,854 |
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus); | public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus); | 26,855 |
private static final void fxch(AbstractX86Stream os, FPUStack fpuStack, Register fpuReg) { if (fpuReg == Register.ST0) { throw new StackException("Cannot fxch ST0"); } os.writeFXCH(fpuReg); fpuStack.fxch(fpuReg); } | static final void fxch(AbstractX86Stream os, FPUStack fpuStack, Register fpuReg) { if (fpuReg == Register.ST0) { throw new StackException("Cannot fxch ST0"); } os.writeFXCH(fpuReg); fpuStack.fxch(fpuReg); } | 26,857 |
public static void _assert(boolean value, String msg) { if (!value) { assertionFailed(msg, null); } } | public static void _assert(boolean value) { if (!value) { assertionFailed(msg, null); } } | 26,858 |
public static void _assert(boolean value, String msg) { if (!value) { assertionFailed(msg, null); } } | public static void _assert(boolean value, String msg) { if (!value) { assertionFailed(null, null); } } | 26,859 |
public Iterator getCurrentServiceSelectors(BeanContextServices services, Class serviceClass); | public Iterator getCurrentServiceSelectors(BeanContextServices services, Class serviceClass); | 26,860 |
public Object getService(BeanContextServices services, Object requestor, Class serviceClass, Object serviceSelector); | public Object getService(BeanContextServices services, Object requestor, Class serviceClass, Object serviceSelector); | 26,861 |
public void releaseService(BeanContextServices services, Object requestor, Object service); | public void releaseService(BeanContextServices services, Object requestor, Object service); | 26,862 |
public void serviceRevoked(BeanContextServiceRevokedEvent event); | public void serviceRevoked(BeanContextServiceRevokedEvent event); | 26,863 |
public void addBeanContextServicesListener(BeanContextServicesListener listener); | public void addBeanContextServicesListener(BeanContextServicesListener listener); | 26,864 |
public boolean addService(Class serviceClass, BeanContextServiceProvider provider); | public boolean addService(Class serviceClass, BeanContextServiceProvider provider); | 26,865 |
public Iterator getCurrentServiceClasses(); | public Iterator getCurrentServiceClasses(); | 26,866 |
public Iterator getCurrentServiceSelectors(Class serviceClass); | public Iterator getCurrentServiceSelectors(Class serviceClass); | 26,867 |
public Object getService(BeanContextChild requestorChild, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener listener); | public Object getService(BeanContextChild requestorChild, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener listener); | 26,868 |
public boolean hasService(Class serviceClass); | public boolean hasService(Class serviceClass); | 26,869 |
public void releaseService(BeanContextChild requestorChild, Object requestor, Object service); | public void releaseService(BeanContextChild requestorChild, Object requestor, Object service); | 26,870 |
public void removeBeanContextServicesListener(BeanContextServicesListener listener); | public void removeBeanContextServicesListener(BeanContextServicesListener listener); | 26,871 |
public void revokeService(Class serviceClass, BeanContextServiceProvider provider, boolean revokeNow); | public void revokeService(Class serviceClass, BeanContextServiceProvider provider, boolean revokeNow); | 26,872 |
public Enumeration<V> elements() { return new Enumerator<V>(VALUES); } | public Enumeration<V> elements() { return new ValueEnumerator(); } | 26,873 |
public void tableChanged(TableModelEvent event) { // TODO Auto-generated method stub } | switch (event.getType()) { case TableModelEvent.INSERT: tableRowsInserted(event); break; case TableModelEvent.DELETE: tableRowsDeleted(event); break; } switch (event.getType()) { case TableModelEvent.INSERT: tableRowsInserted(event); break; case TableModelEvent.DELETE: tableRowsDeleted(event); break; } public void tabl... | 26,874 |
public final String format (Date date) { StringBuffer sb = new StringBuffer (); format (date, sb, new FieldPosition (MONTH_FIELD)); return sb.toString(); } | public final StringBuffer format (Object obj, StringBuffer buf, FieldPosition pos) { StringBuffer sb = new StringBuffer (); format (date, sb, new FieldPosition (MONTH_FIELD)); return sb.toString(); } | 26,876 |
public final String format (Date date) { StringBuffer sb = new StringBuffer (); format (date, sb, new FieldPosition (MONTH_FIELD)); return sb.toString(); } | public final String format (Date date) { StringBuffer sb = new StringBuffer (); format (date, sb, new FieldPosition (MONTH_FIELD)); return sb.toString(); } | 26,877 |
public void setDelay(int delay) { interval = delay; } | public void setDelay(int d) { interval = delay; } | 26,878 |
public void setDelay(int delay) { interval = delay; } | public void setDelay(int delay) { delay = d; } | 26,879 |
public DefaultTableModel(int numRows, int numColumns) { Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); } for (int r = 0; r < numRows; r++) { Vector ... | public DefaultTableModel() { Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); } for (int r = 0; r < numRows; r++) { Vector tmp = new Vector(numColumns... | 26,880 |
public DefaultTableModel(int numRows, int numColumns) { Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); } for (int r = 0; r < numRows; r++) { Vector ... | public DefaultTableModel(int numRows, int numColumns) { Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); } for (int r = 0; r < numRows; r++) { Vector ... | 26,881 |
public DefaultTableColumnModel() { // TODO } | tableColumns = new Vector(); setSelectionModel(new DefaultListSelectionModel()); columnMargin = 1; columnSelectionAllowed = false; tableColumns = new Vector(); setSelectionModel(new DefaultListSelectionModel()); columnMargin = 1; columnSelectionAllowed = false; publictableColumns = new Vector(); setSelectionModel(new D... | 26,882 |
public JTableHeader(TableColumnModel cm) { columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); } | public JTableHeader() { columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); } | 26,883 |
public JTableHeader(TableColumnModel cm) { columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); } | public JTableHeader(TableColumnModel cm) { columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); } | 26,884 |
protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | public boolean requestFocusInWindow () { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { synchroni... | 26,885 |
protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | 26,886 |
protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | 26,887 |
public DefaultCellEditor(JTextField textfield) { editorComponent = textfield; clickCountToStart = 2; } // DefaultCellEditor() | public DefaultCellEditor(JTextField textfield) { editorComponent = textfield; clickCountToStart = 2; } // DefaultCellEditor() | 26,888 |
public FatDirEntry(AbstractDirectory dir, String name, String ext) { super(dir); this.parent = dir; this.name = name; this.ext = ext; this.flags = F_ARCHIVE; this.lastModified = System.currentTimeMillis(); this._dirty = false; } | public FatDirEntry(AbstractDirectory dir, String name, String ext) { super(dir); this.parent = dir; this.name = name; this.ext = ext; this.flags = F_ARCHIVE; this.lastModified = System.currentTimeMillis(); this._dirty = false; } | 26,889 |
Dialog(Frame parent){ this(parent, "", false);} | Dialog(Frame parent){ this(parent, "", false);} | 26,890 |
Dialog(Frame parent){ this(parent, "", false);} | Dialog(Frame parent){ this(parent, "", false);} | 26,891 |
addNotify(){ if (peer == null) peer = getToolkit ().createDialog (this); super.addNotify ();} | addNotify(){ if (peer == null) peer = getToolkit ().createDialog (this); super.addNotify ();} | 26,892 |
addNotify(){ if (peer == null) peer = getToolkit ().createDialog (this); super.addNotify ();} | addNotify(){ if (peer == null) peer = getToolkit ().createDialog (this); super.addNotify ();} | 26,893 |
dispose (){ if (blocked) { notifyAll (); } super.dispose();} | dispose (){ if (blocked) { notifyAll (); } super.dispose();} | 26,894 |
dispose (){ if (blocked) { notifyAll (); } super.dispose();} | dispose (){ if (blocked) { notifyAll(); } super.dispose();} | 26,895 |
dispose (){ if (blocked) { notifyAll (); } super.dispose();} | dispose (){ if (blocked) { notifyAll (); } super.dispose();} | 26,896 |
hide (){ if (blocked) { notifyAll (); } super.hide();} | hide (){ if (blocked) { notifyAll (); } super.hide();} | 26,897 |
hide (){ if (blocked) { notifyAll (); } super.hide();} | hide (){ if (blocked) { notifyAll(); } super.hide();} | 26,898 |
hide (){ if (blocked) { notifyAll (); } super.hide();} | hide (){ if (blocked) { notifyAll (); } super.hide();} | 26,899 |
isModal(){ return(modal);} | isModal(){ return(modal);} | 26,900 |
isResizable(){ return(resizable);} | isResizable(){ return(resizable);} | 26,901 |
public boolean isUndecorated () { return undecorated; } | public boolean isUndecorated() { return undecorated; } | 26,902 |
paramString(){ return ("title+" + title + ",modal=" + modal + ",resizable=" + resizable + "," + super.paramString());} | paramString(){ return ("title+" + title + ",modal=" + modal + ",resizable=" + resizable + "," + super.paramString());} | 26,903 |
setModal(boolean modal){ this.modal = modal;} | setModal(boolean modal){ this.modal = modal;} | 26,904 |
setModal(boolean modal){ this.modal = modal;} | setModal(boolean modal){ this.modal = modal;} | 26,905 |
setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable (resizable); }} | setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable (resizable); }} | 26,906 |
setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable (resizable); }} | setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable (resizable); }} | 26,907 |
setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable (resizable); }} | setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable (resizable); }} | 26,908 |
public void setUndecorated (boolean undecorated) { if (isDisplayable ()) throw new IllegalComponentStateException (); this.undecorated = undecorated; } | public void setUndecorated(boolean undecorated) { if (isDisplayable ()) throw new IllegalComponentStateException (); this.undecorated = undecorated; } | 26,909 |
public void setUndecorated (boolean undecorated) { if (isDisplayable ()) throw new IllegalComponentStateException (); this.undecorated = undecorated; } | public void setUndecorated (boolean undecorated) { if (isDisplayable ()) throw new IllegalComponentStateException (); this.undecorated = undecorated; } | 26,910 |
show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | 26,911 |
show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | 26,912 |
show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | 26,913 |
show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | 26,914 |
show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | 26,915 |
show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | 26,916 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | Window() { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the window. SecurityManager s = System.getSecurity... | 26,917 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | public Window(Window owner, GraphicsConfiguration gc) { visible = false; focusCycleRoot = true; setLayout(new BorderLayout()); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReferenc... | 26,918 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | public Window(Window owner, GraphicsConfiguration gc) { this (); addWindowFocusListener (new WindowAdapter () { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text vis... | 26,919 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | 26,920 |
public abstract void setResizable(boolean resizeable); | public abstract void setResizable(boolean resizeable); | 26,921 |
public abstract void setTitle(String title); | public abstract void setTitle(String title); | 26,922 |
public void show() { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. synchronized (getTreeLock()) { Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).g... | public void show() { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. synchronized (getTreeLock()) { Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).g... | 26,923 |
protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); /* The order is important here, we must get the prev lock first, or deadlock could occur as callers usually get here following prev's next pointer, and thus obtain prev's lock before trying to... | protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); /* The order is important here, we must get the prev lock first, or deadlock could occur as callers usually get here following prev's next pointer, and thus obtain prev's lock before trying to... | 26,924 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.