bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public SecureRandom() { Provider p[] = Security.getProviders(); //Format of Key: SecureRandom.algname String key; String classname = null; int i; Enumeration e; for (i = 0; i < p.length; i++) { e = p[i].propertyNames(); while (e.hasMoreElements()) { key = (... | public SecureRandom() { Provider[] p = Security.getProviders(); //Format of Key: SecureRandom.algname String key; String classname = null; int i; Enumeration e; for (i = 0; i < p.length; i++) { e = p[i].propertyNames(); while (e.hasMoreElements()) { key = (... | 14,578 |
public SecureRandom() { Provider p[] = Security.getProviders(); //Format of Key: SecureRandom.algname String key; String classname = null; int i; Enumeration e; for (i = 0; i < p.length; i++) { e = p[i].propertyNames(); while (e.hasMoreElements()) { key = (... | public SecureRandom() { Provider p[] = Security.getProviders(); //Format of Key: SecureRandom.algname String key; String classname = null; int i; Enumeration e; for (i = 0; i < p.length; i++) { e = p[i].propertyNames(); while (e.hasMoreElements()) { key = (... | 14,579 |
public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException { Provider p[] = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) { } } //... | public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException { Provider p[] = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) { } } //... | 14,580 |
public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException { Provider p[] = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) { } } //... | public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) { } } /... | 14,581 |
public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException { Provider p[] = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) { } } //... | public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException { Provider p[] = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) { } } // None ... | 14,582 |
public static byte[] getSeed(int numBytes) { byte tmp[] = new byte[numBytes]; new Random().nextBytes(tmp); return tmp; //return secureRandomSpi.engineGenerateSeed( numBytes ); } | public static byte[] getSeed(int numBytes) { byte[] tmp = new byte[numBytes]; new Random().nextBytes(tmp); return tmp; //return secureRandomSpi.engineGenerateSeed( numBytes ); } | 14,584 |
protected final int next(int numBits) { if (numBits == 0) return 0; byte tmp[] = new byte[numBits / 8 + (1 * (numBits % 8))]; secureRandomSpi.engineNextBytes(tmp); randomBytesUsed += tmp.length; counter++; int ret = 0; for (int i = 0; i < tmp.length; i++) ret |= (tmp[i] & 0xFF) << (8 *... | protected final int next(int numBits) { if (numBits == 0) return 0; byte[] tmp = new byte[numBits / 8 + (1 * (numBits % 8))]; secureRandomSpi.engineNextBytes(tmp); randomBytesUsed += tmp.length; counter++; int ret = 0; for (int i = 0; i < tmp.length; i++) ret |= (tmp[i] & 0xFF) << (8 *... | 14,585 |
public NoSuchAlgorithmException(String msg) { super(msg); } | public NoSuchAlgorithmException() { super(msg); } | 14,586 |
public NoSuchAlgorithmException(String msg) { super(msg); } | public NoSuchAlgorithmException(String msg) { } | 14,587 |
public DropTargetDropEvent (DropTargetContext dtc, Point location, int dropAction, int actions) { this (dtc, location, dropAction, actions, false); } | public DropTargetDropEvent(DropTargetContext dtc, Point location, int dropAction, int actions) { this (dtc, location, dropAction, actions, false); } | 14,588 |
public DropTargetDropEvent (DropTargetContext dtc, Point location, int dropAction, int actions) { this (dtc, location, dropAction, actions, false); } | public DropTargetDropEvent (DropTargetContext dtc, Point location, int dropAction, int actions) { this(dtc, location, dropAction, actions, false); } | 14,589 |
public void acceptDrop (int dropAction) { context.acceptDrop (dropAction); } | public void acceptDrop(int dropAction) { context.acceptDrop (dropAction); } | 14,590 |
public void acceptDrop (int dropAction) { context.acceptDrop (dropAction); } | public void acceptDrop (int dropAction) { context.acceptDrop(dropAction); } | 14,591 |
public void dropComplete (boolean success) { // FIXME: implement this } | public void dropComplete(boolean success) throws NotImplementedException { // FIXME: implement this } | 14,592 |
public DataFlavor[] getCurrentDataFlavors () { return context.getCurrentDataFlavors (); } | public DataFlavor[] getCurrentDataFlavors() { return context.getCurrentDataFlavors (); } | 14,593 |
public DataFlavor[] getCurrentDataFlavors () { return context.getCurrentDataFlavors (); } | public DataFlavor[] getCurrentDataFlavors () { return context.getCurrentDataFlavors(); } | 14,594 |
public List getCurrentDataFlavorsAsList () { return context.getCurrentDataFlavorsAsList (); } | public List getCurrentDataFlavorsAsList() { return context.getCurrentDataFlavorsAsList (); } | 14,595 |
public List getCurrentDataFlavorsAsList () { return context.getCurrentDataFlavorsAsList (); } | public List getCurrentDataFlavorsAsList () { return context.getCurrentDataFlavorsAsList(); } | 14,596 |
public int getDropAction () { return dropAction; } | public int getDropAction() { return dropAction; } | 14,597 |
public Point getLocation () { return location; } | public Point getLocation() { return location; } | 14,598 |
public int getSourceActions () { return actions; } | public int getSourceActions() { return actions; } | 14,599 |
public Transferable getTransferable () { return context.getTransferable (); } | public Transferable getTransferable() { return context.getTransferable (); } | 14,600 |
public boolean isDataFlavorSupported (DataFlavor flavor) { return context.isDataFlavorSupported (flavor); } | public boolean isDataFlavorSupported(DataFlavor flavor) { return context.isDataFlavorSupported (flavor); } | 14,601 |
public boolean isDataFlavorSupported (DataFlavor flavor) { return context.isDataFlavorSupported (flavor); } | public boolean isDataFlavorSupported (DataFlavor flavor) { return context.isDataFlavorSupported(flavor); } | 14,602 |
public void rejectDrop () { context.rejectDrop (); } | public void rejectDrop() { context.rejectDrop (); } | 14,603 |
public void rejectDrop () { context.rejectDrop (); } | public void rejectDrop () { context.rejectDrop(); } | 14,604 |
public void add(Permission permission) { if (isReadOnly()) { throw new SecurityException("readonly"); } if (!(permission instanceof PropertyPermission)) { throw new IllegalArgumentException(); } PropertyPermission pp = (PropertyPermission) permission; final String name = pp.getName(); ... | public void add(Permission permission) { if (isReadOnly()) { throw new SecurityException("readonly"); } if (!(permission instanceof PropertyPermission)) { throw new IllegalArgumentException(); } PropertyPermission pp = (PropertyPermission) permission; final String name = pp.getName(); ... | 14,605 |
public void add(Permission permission) { if (isReadOnly()) { throw new SecurityException("readonly"); } if (!(permission instanceof PropertyPermission)) { throw new IllegalArgumentException(); } PropertyPermission pp = (PropertyPermission) permission; final String name = pp.getName(); ... | public void add(Permission permission) { if (isReadOnly()) { throw new SecurityException("readonly"); } if (!(permission instanceof PropertyPermission)) { throw new IllegalArgumentException(); } PropertyPermission pp = (PropertyPermission) permission; final String name = pp.getName(); ... | 14,606 |
public void add(Permission permission) { if (isReadOnly()) { throw new SecurityException("readonly"); } if (!(permission instanceof PropertyPermission)) { throw new IllegalArgumentException(); } PropertyPermission pp = (PropertyPermission) permission; final String name = pp.getName(); ... | public void add(Permission permission) { if (isReadOnly()) { throw new SecurityException("readonly"); } if (!(permission instanceof PropertyPermission)) { throw new IllegalArgumentException(); } PropertyPermission pp = (PropertyPermission) permission; final String name = pp.getName(); ... | 14,607 |
public void add(Permission permission) { if (isReadOnly()) { throw new SecurityException("readonly"); } if (!(permission instanceof PropertyPermission)) { throw new IllegalArgumentException(); } PropertyPermission pp = (PropertyPermission) permission; final String name = pp.getName(); ... | public void add(Permission permission) { if (isReadOnly()) { throw new SecurityException("readonly"); if (!(permission instanceof PropertyPermission)) { throw new IllegalArgumentException(); PropertyPermission pp = (PropertyPermission) permission; final String name = pp.getName(); ... | 14,608 |
public Enumeration elements() { return permissions.elements(); } | public Enumeration elements() { return permissions.elements(); } | 14,609 |
public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | 14,610 |
public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | 14,611 |
public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | 14,612 |
public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | 14,613 |
public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | 14,614 |
public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) permis... | 14,615 |
public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | 14,616 |
public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | 14,617 |
public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | public boolean implies(Permission permission) { if (!(permission instanceof PropertyPermission)) { return false; } final PropertyPermission toImply = (PropertyPermission) permission; int actions = toImply.actions; if (all_allowed) { int all_actions = ((PropertyPermission) perm... | 14,618 |
public SecurityException(String s) { super(s); } | public SecurityException(String s) { super(s); } | 14,619 |
public PropertyPermission(String name, String actions) { super(name); if (actions == null) throw new IllegalArgumentException(); setActions(actions.toLowerCase()); } | public PropertyPermission(String name, String actions) { super(name); if (actions == null) throw new IllegalArgumentException(); setActions(actions); } | 14,620 |
public ButtonModel getModel() { return model; } | public ButtonModel getModel() { return model; } | 14,621 |
public boolean isRolloverEnabled() { return getModel().isRollover(); } | public boolean isRolloverEnabled() { return getModel().isRollover(); } | 14,622 |
private ScrollingButton createDecreaseButton() { if (decrButton == null) decrButton = new ScrollingButton(SwingConstants.SOUTH); if (tabPane.getTabPlacement() == SwingConstants.TOP || tabPane.getTabPlacement() == SwingConstants.BOTTOM) decrButton.setDirection(SwingConstants.WEST); else ... | ScrollingButton createDecreaseButton() { if (decrButton == null) decrButton = new ScrollingButton(SwingConstants.SOUTH); if (tabPane.getTabPlacement() == SwingConstants.TOP || tabPane.getTabPlacement() == SwingConstants.BOTTOM) decrButton.setDirection(SwingConstants.WEST); else decrBut... | 14,623 |
private ScrollingButton createIncreaseButton() { if (incrButton == null) incrButton = new ScrollingButton(SwingConstants.NORTH); if (tabPane.getTabPlacement() == SwingConstants.TOP || tabPane.getTabPlacement() == SwingConstants.BOTTOM) incrButton.setDirection(SwingConstants.EAST); else ... | ScrollingButton createIncreaseButton() { if (incrButton == null) incrButton = new ScrollingButton(SwingConstants.NORTH); if (tabPane.getTabPlacement() == SwingConstants.TOP || tabPane.getTabPlacement() == SwingConstants.BOTTOM) incrButton.setDirection(SwingConstants.EAST); else incrBut... | 14,624 |
private Point findPointForIndex(int index) { int tabPlacement = tabPane.getTabPlacement(); int selectedIndex = tabPane.getSelectedIndex(); Insets insets = getSelectedTabPadInsets(tabPlacement); int w = 0; int h = 0; if (tabPlacement == TOP || tabPlacement == BOTTOM) { if (index > 0) { w ... | Point findPointForIndex(int index) { int tabPlacement = tabPane.getTabPlacement(); int selectedIndex = tabPane.getSelectedIndex(); Insets insets = getSelectedTabPadInsets(tabPlacement); int w = 0; int h = 0; if (tabPlacement == TOP || tabPlacement == BOTTOM) { if (index > 0) { w += rects... | 14,625 |
public int getTabCount() { return tabs.size(); } | public int getTabCount() { return tabs.size(); } | 14,626 |
public void setEnabled(boolean b) { super.setEnabled(b); getModel().setEnabled(b); repaint(); } | public void setEnabled(boolean b) { super.setEnabled(b); getModel().setEnabled(b); repaint(); } | 14,627 |
public void updateUI() { setUI((PanelUI) UIManager.getUI(this)); } | public void updateUI() { setUI((PanelUI) UIManager.getUI(this)); } | 14,628 |
public void setUI(PanelUI ui) { super.setUI(ui); } | public void setUI(PanelUI ui) { super.setUI(ui); } | 14,629 |
public Component getComponentAt(int i) { Tab t = (Tab) tabs.elementAt(i); return t.tab; } | public Component getComponentAt(int i) { Tab t = (Tab) tabs.elementAt(i); return t.tab; } | 14,630 |
public void show() { // We must set visible before showing the peer. Otherwise the // peer could post paint events before visible is true, in which // case lightweight components are not initially painted -- // Container.paint first calls isShowing () before painting itself // and its children. if... | public void show() { // We must set visible before showing the peer. Otherwise the // peer could post paint events before visible is true, in which // case lightweight components are not initially painted -- // Container.paint first calls isShowing () before painting itself // and its children. if... | 14,631 |
public int getInt(Object key) { Object o = get(key); return o instanceof Integer ? ((Integer) o).intValue() : 0; } | int getInt(Object key) { Object o = get(key); return o instanceof Integer ? ((Integer) o).intValue() : 0; } | 14,632 |
static public String layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon i, int vert_a, int hor_i, int vert_text_pos, int hor_text_pos, Rectangle vr, Rectangle ir, Rectangle tr, int gap) { // v... | static public String layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon i, int vert_a, int hor_i, int vert_text_pos, int hor_text_pos, Rectangle vr, Rectangle ir, Rectangle tr, int gap) { // v... | 14,633 |
static public String layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon i, int vert_a, int hor_i, int vert_text_pos, int hor_text_pos, Rectangle vr, Rectangle ir, Rectangle tr, int gap) { // v... | static public String layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon i, int vert_a, int hor_i, int vert_text_pos, int hor_text_pos, Rectangle vr, Rectangle ir, Rectangle tr, int gap) { // v... | 14,634 |
static public String layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon i, int vert_a, int hor_i, int vert_text_pos, int hor_text_pos, Rectangle vr, Rectangle ir, Rectangle tr, int gap) { // v... | static public String layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon i, int vert_a, int hor_i, int vert_text_pos, int hor_text_pos, Rectangle vr, Rectangle ir, Rectangle tr, int gap) { // v... | 14,635 |
static public String layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon i, int vert_a, int hor_i, int vert_text_pos, int hor_text_pos, Rectangle vr, Rectangle ir, Rectangle tr, int gap) { // v... | static public String layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon i, int vert_a, int hor_i, int vert_text_pos, int hor_text_pos, Rectangle vr, Rectangle ir, Rectangle tr, int gap) { // v... | 14,636 |
public StringTokenizer(String str, String delim) { this(str, delim, false); } | public StringTokenizer(String str) { this(str, delim, false); } | 14,637 |
public StringTokenizer(String str, String delim) { this(str, delim, false); } | public StringTokenizer(String str, String delim) { this(str, delim, false); } | 14,638 |
public String nextToken() throws NoSuchElementException { if (pos < len && delim.indexOf(str.charAt(pos)) >= 0) { if (retDelims) return str.substring(pos, ++pos); while (++pos < len && delim.indexOf(str.charAt(pos)) >= 0); } if (pos < len) { int start = pos; while (++pos < len && delim.in... | public String nextToken(String delim) throws NoSuchElementException { if (pos < len && delim.indexOf(str.charAt(pos)) >= 0) { if (retDelims) return str.substring(pos, ++pos); while (++pos < len && delim.indexOf(str.charAt(pos)) >= 0); } if (pos < len) { int start = pos; while (++pos < len... | 14,639 |
public String nextToken() throws NoSuchElementException { if (pos < len && delim.indexOf(str.charAt(pos)) >= 0) { if (retDelims) return str.substring(pos, ++pos); while (++pos < len && delim.indexOf(str.charAt(pos)) >= 0); } if (pos < len) { int start = pos; while (++pos < len && delim.in... | public String nextToken() throws NoSuchElementException { if (pos < len && delim.indexOf(str.charAt(pos)) >= 0) { if (retDelims) return str.substring(pos, ++pos); while (++pos < len && delim.indexOf(str.charAt(pos)) >= 0); } if (pos < len) { int start = pos; while (++pos < len && delim.in... | 14,640 |
protected IIOParam() { // Do nothing here. } | protectedIIOParam(){//Donothinghere.} | 14,641 |
public boolean activateController() { if (controller == null) return false; return controller.activate(this); } | else return defaultController.activate (this); } else else return defaultController.activate (this); } else publicelse return defaultController.activate (this); } else booleanelse return defaultController.activate (this); } else activateController()else return defaultController.activate (this); } else else return defau... | 14,642 |
public IIOParamController getController() { return controller; } | public IIOParamController getController() { return controller == null ? (no_controller ? null : defaultController) : controller; } | 14,643 |
public int[] getSourceBands() { return sourceBands; } | public int[] getSourceBands() { if (sourceBands == null) return null; int[] sourceBandsCopy = new int[sourceBands.length]; System.arraycopy (sourceBands, 0, sourceBandsCopy, 0, sourceBands.length); return sourceBandsCopy; } | 14,644 |
public void setSourceBands(int[] sourceBands) { this.sourceBands = sourceBands; } | public void setSourceBands(int[] sourceBands) { int[] sourceBandsCopy = new int[sourceBands.length]; System.arraycopy (sourceBands, 0, sourceBandsCopy, 0, sourceBands.length); this.sourceBands = sourceBandsCopy; } | 14,646 |
public void setSourceRegion(Rectangle sourceRegion) { if (sourceRegion != null && (sourceRegion.x < 0 || sourceRegion.y < 0 || sourceRegion.width <= 0 || sourceRegion.height <= 0)) throw new IllegalArgumentException("illegal source region"); // FIXME: Throw IllegalStateException. this.s... | if (sourceRegion != null) { int num_rows = (sourceRegion.height - subsamplingYOffset + sourceYSubsampling - 1) / sourceYSubsampling; int num_columns = (sourceRegion.width - subsamplingXOffset + sourceXSubsampling - 1) / sourceXSubsampling; if (num_rows <= 0 || num_columns <= 0) throw new IllegalStateException("zero p... | 14,647 |
public JApplet() { frameInit(); } | public JApplet() { frameInit(); } | 14,649 |
protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); } | protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); } | 14,650 |
JRootPane createRootPane() { return new JRootPane(); } | JRootPane createRootPane() { return new JRootPane(); } | 14,651 |
protected void frameInit() { super.setLayout(new BorderLayout(1, 1)); getRootPane(); // will do set/create } | protected void frameInit() { super.setLayout(new BorderLayout(1, 1)); getRootPane(); // will do set/create } | 14,652 |
public AccessibleContext getAccessibleContext() { return null; } | public AccessibleContext getAccessibleContext() { return null; } | 14,653 |
Container getContentPane() { return getRootPane().getContentPane(); } | Container getContentPane() { return getRootPane().getContentPane(); } | 14,654 |
int getDefaultCloseOperation() { return close_action; } | int getDefaultCloseOperation() { return close_action; } | 14,655 |
Component getGlassPane() { return getRootPane().getGlassPane(); } | Component getGlassPane() { return getRootPane().getGlassPane(); } | 14,656 |
JMenuBar getJMenuBar() { return getRootPane().getJMenuBar(); } | JMenuBar getJMenuBar() { return getRootPane().getJMenuBar(); } | 14,657 |
JLayeredPane getLayeredPane() { return getRootPane().getLayeredPane(); } | JLayeredPane getLayeredPane() { return getRootPane().getLayeredPane(); } | 14,658 |
public Dimension getPreferredSize() { Dimension d = super.getPreferredSize(); System.out.println("JFrame.getPrefSize(): " + d + " , comp=" + countComponents() + ", layout=" + getLayout()); return d; } | public Dimension getPreferredSize() { Dimension d = super.getPreferredSize(); System.out.println("JFrame.getPrefSize(): " + d + " , comp=" + countComponents() + ", layout=" + getLayout()); return d; } | 14,659 |
JRootPane getRootPane() { if (rootPane == null) setRootPane(createRootPane()); return rootPane; } | JRootPane getRootPane() { if (rootPane == null) setRootPane(createRootPane()); return rootPane; } | 14,660 |
protected boolean isRootPaneCheckingEnabled() { return checking; } | protected boolean isRootPaneCheckingEnabled() { return checking; } | 14,661 |
protected String paramString() { return "JFrame"; } | protected String paramString() { return "JFrame"; } | 14,662 |
protected void processKeyEvent(KeyEvent e) { super.processKeyEvent(e); } | protected void processKeyEvent(KeyEvent e) { super.processKeyEvent(e); } | 14,663 |
protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); // super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : ... | protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); // super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : ... | 14,664 |
protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); // super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : ... | protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); // super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : ... | 14,665 |
protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); // super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : ... | protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); // super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : ... | 14,666 |
protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); // super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : ... | protected void processWindowEvent(WindowEvent e) { // System.out.println("PROCESS_WIN_EV-1: " + e); // super.processWindowEvent(e); // System.out.println("PROCESS_WIN_EV-2: " + e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING : { switch (close_action) { case EXIT_ON_CLOSE : ... | 14,667 |
public void remove(Component comp) { getContentPane().remove(comp); } | public void remove(Component comp) { getContentPane().remove(comp); } | 14,668 |
void setContentPane(Container contentPane) { getRootPane().setContentPane(contentPane); } | void setContentPane(Container contentPane) { getRootPane().setContentPane(contentPane); } | 14,669 |
void setDefaultCloseOperation(int operation) { close_action = operation; } | void setDefaultCloseOperation(int operation) { close_action = operation; } | 14,670 |
void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); } | void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); } | 14,671 |
void setJMenuBar(JMenuBar menubar) { getRootPane().setJMenuBar(menubar); } | void setJMenuBar(JMenuBar menubar) { getRootPane().setJMenuBar(menubar); } | 14,672 |
void setLayeredPane(JLayeredPane layeredPane) { getRootPane().setLayeredPane(layeredPane); } | void setLayeredPane(JLayeredPane layeredPane) { getRootPane().setLayeredPane(layeredPane); } | 14,673 |
public void setLayout(LayoutManager manager) { super.setLayout(manager); } | public void setLayout(LayoutManager manager) { super.setLayout(manager); } | 14,674 |
void setRootPane(JRootPane root) { if (rootPane != null) remove(rootPane); rootPane = root; add(rootPane, BorderLayout.CENTER); } | void setRootPane(JRootPane root) { if (rootPane != null) remove(rootPane); rootPane = root; add(rootPane, BorderLayout.CENTER); } | 14,675 |
protected void setRootPaneCheckingEnabled(boolean enabled) { checking = enabled; } | protected void setRootPaneCheckingEnabled(boolean enabled) { checking = enabled; } | 14,676 |
public void update(Graphics g) { paint(g); } | public void update(Graphics g) { paint(g); } | 14,677 |
JRootPane() { setLayout(createRootLayout()); getGlassPane(); getLayeredPane(); getContentPane(); setDoubleBuffered(true); updateUI(); } | JRootPane() { setLayout(createRootLayout()); getGlassPane(); getLayeredPane(); getContentPane(); setDoubleBuffered(true); updateUI(); } | 14,678 |
JRootPane() { setLayout(createRootLayout()); getGlassPane(); getLayeredPane(); getContentPane(); setDoubleBuffered(true); updateUI(); } | JRootPane() { setLayout(createRootLayout()); getGlassPane(); getLayeredPane(); getContentPane(); setDoubleBuffered(true); updateUI(); } | 14,679 |
public Container getContentPane() { if (contentPane == null) { setContentPane(createContentPane()); } return contentPane; } | public Container getContentPane() { if (contentPane == null) { setContentPane(createContentPane()); } return contentPane; } | 14,680 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.