bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { g.setColor(borderColor); g.drawLine(x, y + h - 1, x + w, y + h - 1); } | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { if(MetalLookAndFeel.getCurrentTheme() instanceof OceanTheme) g.setColor(UIManager.getColor("MenuBar.borderColor")); else g.setColor(MetalLookAndFeel.getControlShadow()); g.drawLine(x, y + h - 1, x + w, y + h - 1); ... | 8,017 |
public void dump(PrintStream out) { out.println("MPConfigTable"); out.println("Address 0x" + NumberUtils.hex(mem.getAddress().toInt())); out.println("Size " + mem.getSize()); out.println("Manufacturer " + getOemID()); out.println("Product " + getPr... | public void dump(PrintStream out) { out.println("MPConfigTable"); out.println("Address 0x" + NumberUtils.hex(mem.getAddress().toInt())); out.println("Size " + mem.getSize()); out.println("Manufacturer " + getOemID()); out.println("Product " + getPr... | 8,018 |
public void dump(PrintStream out) { out.println("MPConfigTable"); out.println("Address 0x" + NumberUtils.hex(mem.getAddress().toInt())); out.println("Size " + mem.getSize()); out.println("Manufacturer " + getOemID()); out.println("Product " + getPr... | public void dump(PrintStream out) { out.println("MPConfigTable"); out.println("Address 0x" + NumberUtils.hex(mem.getAddress().toInt())); out.println("Size " + mem.getSize()); out.println("Manufacturer " + getOemID()); out.println("Product " + getPr... | 8,019 |
protected WordItem(int kind, Register reg, int local) { super(kind, local); this.reg = reg; assertCondition((kind != Kind.REGISTER) || (reg != null), "kind == register implies that reg != null"); } | protected WordItem(int kind, Register reg, int local) { super(kind, local); this.reg = reg; assertCondition((kind != Kind.REGISTER) || (reg != null), "kind == register implies that reg != null"); } | 8,020 |
protected Item clone(EmitterContext ec) { final WordItem res; final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case Kind.REGISTER: res = L1AHelper.requestWordRegister(ec, getType(), false); final Register r = res.getRegister(); os.writeMOV(INTSIZE, r, reg); break; case Kind.LOCAL: res =... | protected Item clone(EmitterContext ec) { final WordItem res; final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case Kind.REGISTER: res = L1AHelper.requestWordRegister(ec, getType(), false); final Register r = res.getRegister(); os.writeMOV(INTSIZE, r, reg); break; case Kind.LOCAL: res =... | 8,021 |
protected Item clone(EmitterContext ec) { final WordItem res; final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case Kind.REGISTER: res = L1AHelper.requestWordRegister(ec, getType(), false); final Register r = res.getRegister(); os.writeMOV(INTSIZE, r, reg); break; case Kind.LOCAL: res =... | protected Item clone(EmitterContext ec) { final WordItem res; final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case Kind.REGISTER: res = L1AHelper.requestWordRegister(ec, getType(), false); final Register r = res.getRegister(); os.writeMOV(INTSIZE, r, reg); break; case Kind.LOCAL: res =... | 8,022 |
protected Item clone(EmitterContext ec) { final WordItem res; final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case Kind.REGISTER: res = L1AHelper.requestWordRegister(ec, getType(), false); final Register r = res.getRegister(); os.writeMOV(INTSIZE, r, reg); break; case Kind.LOCAL: res =... | protected Item clone(EmitterContext ec) { final WordItem res; final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case Kind.REGISTER: res = L1AHelper.requestWordRegister(ec, getType(), false); final Register r = res.getRegister(); os.writeMOV(INTSIZE, r, reg); break; case Kind.LOCAL: res =... | 8,023 |
final void loadTo(EmitterContext ec, Register reg) { assertCondition(reg != null, "Reg != null"); final AbstractX86Stream os = ec.getStream(); final X86RegisterPool pool = ec.getPool(); final VirtualStack stack = ec.getVStack(); assertCondition(!pool.isFree(reg), "reg not free"); switch (kind) { case Kind.REGIS... | final void loadTo(EmitterContext ec, Register reg) { assertCondition(reg != null, "Reg != null"); final AbstractX86Stream os = ec.getStream(); final X86RegisterPool pool = ec.getPool(); final VirtualStack stack = ec.getVStack(); assertCondition(!pool.isFree(reg), "reg not free"); switch (kind) { case Kind.REGIS... | 8,024 |
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); break; case Kind.CONSTANT: pushConstant(ec, os); break; case ... | final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); break; case Kind.CONSTANT: pushConstant(ec, os); break; case ... | 8,025 |
final void release(EmitterContext ec) { //assertCondition(!ec.getVStack().contains(this), "Cannot release while // on vstack"); final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(reg); assertCondition(pool.isFree(reg), "reg is free"); break; case Kind.LOCAL: ... | final void release(EmitterContext ec) { //assertCondition(!ec.getVStack().contains(this), "Cannot release while // on vstack"); final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(reg); assertCondition(pool.isFree(reg), "reg is free"); break; case Kind.LOCAL: ... | 8,026 |
final protected Font getCompatibleFont(Font font) { log.debug("<<< BEGIN getCompatibleFont >>>"); Font f = null; try { f = fontsByName.get(font.getFamily()); log.debug("requested font: name="+font.getName()+ " fontName="+font.getFontName()+ " family="+font.getFamily()); if(f == null) { f = f... | final protected Font getCompatibleFont(Font font) { Font f = null; try { f = fontsByName.get(font.getFamily()); log.debug("requested font: name="+font.getName()+ " fontName="+font.getFontName()+ " family="+font.getFamily()); if(f == null) { f = fontsByName.get(font.getName()); } if(f... | 8,027 |
final protected Font getCompatibleFont(Font font) { log.debug("<<< BEGIN getCompatibleFont >>>"); Font f = null; try { f = fontsByName.get(font.getFamily()); log.debug("requested font: name="+font.getName()+ " fontName="+font.getFontName()+ " family="+font.getFamily()); if(f == null) { f = f... | final protected Font getCompatibleFont(Font font) { log.debug("<<< BEGIN getCompatibleFont >>>"); Font f = null; try { f = fontsByName.get(font.getFamily()); log.debug("requested font: name="+font.getName()+ " fontName="+font.getFontName()+ " family="+font.getFamily()); if(f == null) { f = f... | 8,028 |
final protected Font getCompatibleFont(Font font) { log.debug("<<< BEGIN getCompatibleFont >>>"); Font f = null; try { f = fontsByName.get(font.getFamily()); log.debug("requested font: name="+font.getName()+ " fontName="+font.getFontName()+ " family="+font.getFamily()); if(f == null) { f = f... | final protected Font getCompatibleFont(Font font) { log.debug("<<< BEGIN getCompatibleFont >>>"); Font f = null; try { f = fontsByName.get(font.getFamily()); log.debug("requested font: name="+font.getName()+ " fontName="+font.getFontName()+ " family="+font.getFamily()); if(f == null) { f = f... | 8,029 |
final public FontMetrics getFontMetrics(Font font) { FontMetrics fm = (FontMetrics) metrics.get(font); if(log.isDebugEnabled()) log.debug("FontMetrics got from cache: "+fm+" font="+font); if (fm == null) { try { fm = createFontMetrics(font); metrics.put(font, fm); if(log.isDebugEnabled()) log.debug("crea... | final public FontMetrics getFontMetrics(Font font) { FontMetrics fm = (FontMetrics) metrics.get(font); if(log.isDebugEnabled()) log.debug("FontMetrics got from cache: "+fm+" font="+font); if (fm == null) { try { fm = createFontMetrics(font); metrics.put(font, fm); } catch (IOException ex) { log... | 8,030 |
final public boolean provides(Font font) { log.debug("provides, font="+font); if(font == null) return false; // don't provide default (null) fonts if (!fontsLoaded) { log.debug("provides, !fontsLoaded"); loadFonts(); } final Font f = getCompatibleFont(font); log.debug("provides, retu... | final public boolean provides(Font font) { log.debug("provides, font="+font); if(font == null) return false; // don't provide default (null) fonts if (!fontsLoaded) { log.debug("provides, !fontsLoaded"); loadFonts(); } final Font f = getCompatibleFont(font); log.debug("provides, retu... | 8,031 |
final public boolean provides(Font font) { log.debug("provides, font="+font); if(font == null) return false; // don't provide default (null) fonts if (!fontsLoaded) { log.debug("provides, !fontsLoaded"); loadFonts(); } final Font f = getCompatibleFont(font); log.debug("provides, retu... | final public boolean provides(Font font) { log.debug("provides, font="+font); if(font == null) return false; // don't provide default (null) fonts if (!fontsLoaded) { log.debug("provides, !fontsLoaded"); loadFonts(); } final Font f = getCompatibleFont(font); return (f != null); } | 8,032 |
public final static KeyStroke getKeyStroke(String which) { Collection v = mappedKeys.values(); Set o = mappedKeys.keySet(); Iterator k = o.iterator(); Iterator i = v.iterator(); while (k.hasNext()) { KeyStroker ks = (KeyStroker)k.next(); String keyVal = (String)i.next(); ... | public final static KeyStroke getKeyStroke(String which) { Collection v = mappedKeys.values(); Set o = mappedKeys.keySet(); Iterator k = o.iterator(); Iterator i = v.iterator(); while (k.hasNext()) { KeyStroker ks = (KeyStroker)k.next(); String keyVal = (String)i.next(); ... | 8,033 |
protected OpenType(String className, String name, String desc) throws OpenDataException { if (name == null || name.equals("")) throw new IllegalArgumentException("The name can not be null " + "or the empty string."); if (desc == null || desc.equals("")) throw new IllegalArgumentException("The... | protected OpenType(String className, String name, String desc) throws OpenDataException { if (name == null || name.equals("")) throw new IllegalArgumentException("The name can not be null " + "or the empty string."); if (desc == null || desc.equals("")) throw new IllegalArgumentException("The... | 8,034 |
protected OpenType(String className, String name, String desc) throws OpenDataException { if (name == null || name.equals("")) throw new IllegalArgumentException("The name can not be null " + "or the empty string."); if (desc == null || desc.equals("")) throw new IllegalArgumentException("The... | protected OpenType(String className, String name, String desc) throws OpenDataException { if (name == null || name.equals("")) throw new IllegalArgumentException("The name can not be null " + "or the empty string."); if (desc == null || desc.equals("")) throw new IllegalArgumentException("The... | 8,035 |
public void configureArrowButton() { arrowButton.setEnabled(comboBox.isEnabled()); arrowButton.setFont(comboBox.getFont()); arrowButton.setMargin(new Insets(0, 0, 0, 0)); } | public void configureArrowButton() { arrowButton.setEnabled(comboBox.isEnabled()); arrowButton.setFont(comboBox.getFont()); } | 8,038 |
protected JButton createArrowButton() { return new BasicArrowButton(BasicArrowButton.SOUTH); } | protected JButton createArrowButton() { return new BasicArrowButton(BasicArrowButton.SOUTH, buttonBackground, buttonShadow, buttonDarkShadow, buttonHighlight); } | 8,039 |
protected ComboBoxEditor createEditor() { return new BasicComboBoxEditor(); } | protected ComboBoxEditor createEditor() { return new BasicComboBoxEditor.UIResource(); } | 8,040 |
protected Dimension getDefaultSize() { // FIXME: Not implemented properly. return new Dimension(100, 5); } | protected Dimension getDefaultSize() { // FIXME: Not implemented properly. FontMetrics fm = comboBox.getFontMetrics(comboBox.getFont()); int w = fm.charWidth(' ') + 2; int h = fm.getHeight() + 2; return new Dimension(w, h); } | 8,041 |
protected Dimension getDisplaySize() { ComboBoxModel model = comboBox.getModel(); int numItems = model.getSize(); // if combo box doesn't have any items then simply // return its default size if (numItems == 0) { displaySize = getDefaultSize(); return displaySize; } Dimension size = new D... | protected Dimension getDisplaySize() { ComboBoxModel model = comboBox.getModel(); int numItems = model.getSize(); // if combo box doesn't have any items then simply // return its default size if (numItems == 0) { displaySize = getDefaultSize(); return displaySize; } Dimension size = new D... | 8,042 |
protected Dimension getDisplaySize() { ComboBoxModel model = comboBox.getModel(); int numItems = model.getSize(); // if combo box doesn't have any items then simply // return its default size if (numItems == 0) { displaySize = getDefaultSize(); return displaySize; } Dimension size = new D... | protected Dimension getDisplaySize() { ComboBoxModel model = comboBox.getModel(); int numItems = model.getSize(); // if combo box doesn't have any items then simply // return its default size if (numItems == 0) { displaySize = getDefaultSize(); return displaySize; } Dimension size = new D... | 8,043 |
public Dimension getMinimumSize(JComponent c) { Dimension d = getDisplaySize(); Dimension arrowDim = arrowButton.getPreferredSize(); Dimension result = new Dimension(d.width + arrowDim.width, Math.max(d.height, arrowDim.height)); return result; } | public Dimension getMinimumSize(JComponent c) { Dimension d = getDisplaySize(); Dimension arrowDim = arrowButton.getPreferredSize(); Dimension result = new Dimension(d.width + arrowDim.width, Math.max(d.height, arrowDim.height)); return result; } | 8,045 |
protected void installComponents() { // create and install arrow button arrowButton = createArrowButton(); configureArrowButton(); comboBox.add(arrowButton); // Set list that will be used by BasicComboBoxRender // in order to determine the right colors when rendering listBox = new JList(); /... | protected void installComponents() { // create and install arrow button arrowButton = createArrowButton(); configureArrowButton(); comboBox.add(arrowButton); // Set list that will be used by BasicComboBoxRender // in order to determine the right colors when rendering listBox = new JList(); /... | 8,046 |
protected void installComponents() { // create and install arrow button arrowButton = createArrowButton(); configureArrowButton(); comboBox.add(arrowButton); // Set list that will be used by BasicComboBoxRender // in order to determine the right colors when rendering listBox = new JList(); /... | protected void installComponents() { // create and install arrow button arrowButton = createArrowButton(); configureArrowButton(); comboBox.add(arrowButton); // Set list that will be used by BasicComboBoxRender // in order to determine the right colors when rendering listBox = new JList(); /... | 8,047 |
protected void installDefaults() { LookAndFeel.installColorsAndFont(comboBox, "ComboBox.background", "ComboBox.foreground", "ComboBox.font"); // fetch the button color scheme shadow = UIManager.getColor("ComboBox.buttonShadow"); darkShadow = UIManager.getColor("ComboBo... | protected void installDefaults() { LookAndFeel.installColorsAndFont(comboBox, "ComboBox.background", "ComboBox.foreground", "ComboBox.font"); // fetch the button color scheme shadow = UIManager.getColor("ComboBox.buttonShadow"); darkShadow = UIManager.getColor("ComboBo... | 8,048 |
protected void uninstallDefaults() { if (comboBox.getFont() instanceof UIResource) comboBox.setFont(null); if (comboBox.getForeground() instanceof UIResource) comboBox.setForeground(null); if (comboBox.getBackground() instanceof UIResource) comboBox.setBackground(null); shadow = null; ... | protected void uninstallDefaults() { if (comboBox.getFont() instanceof UIResource) comboBox.setFont(null); if (comboBox.getForeground() instanceof UIResource) comboBox.setForeground(null); if (comboBox.getBackground() instanceof UIResource) comboBox.setBackground(null); shadow = null; ... | 8,050 |
public JPopupMenu() { updateUI(); lightWeightPopupEnabled = DefaultLightWeightPopupEnabled; selectionModel = new DefaultSingleSelectionModel(); super.setVisible(false); } | public JPopupMenu() { updateUI(); lightWeightPopupEnabled = DefaultLightWeightPopupEnabled; selectionModel = new DefaultSingleSelectionModel(); super.setVisible(false); } | 8,051 |
public MenuElement[] getSubElements() { Component[] items = getComponents(); MenuElement[] subElements = new MenuElement[items.length]; for (int i = 0; i < items.length; i++) subElements[i] = (MenuElement) items[i]; return subElements; } | public MenuElement[] getSubElements() { Component[] items = getComponents(); ArrayList subElements = new ArrayList(); for (int i = 0; i < items.length; i++) subElements[i] = (MenuElement) items[i]; return subElements; } | 8,052 |
public MenuElement[] getSubElements() { Component[] items = getComponents(); MenuElement[] subElements = new MenuElement[items.length]; for (int i = 0; i < items.length; i++) subElements[i] = (MenuElement) items[i]; return subElements; } | public MenuElement[] getSubElements() { Component[] items = getComponents(); MenuElement[] subElements = new MenuElement[items.length]; for (int i = 0; i < items.length; i++) if (items[i] instanceof MenuElement) subElements.add(items[i]); return subElements; } | 8,053 |
public MenuElement[] getSubElements() { Component[] items = getComponents(); MenuElement[] subElements = new MenuElement[items.length]; for (int i = 0; i < items.length; i++) subElements[i] = (MenuElement) items[i]; return subElements; } | public MenuElement[] getSubElements() { Component[] items = getComponents(); MenuElement[] subElements = new MenuElement[items.length]; for (int i = 0; i < items.length; i++) subElements[i] = (MenuElement) items[i]; return (MenuElement[]) subElements.toArray(new MenuElement[subElements.size()]); } | 8,054 |
protected String paramString() { return "JPopupMenu"; } | protected String paramString() { StringBuffer sb = new StringBuffer(); sb.append(super.paramString()); sb.append(",label="); if (getLabel() != null) sb.append(getLabel()); sb.append(",lightWeightPopupEnabled=").append(isLightWeightPopupEnabled()); sb.append(",margin="); if (getMargin() != null) sb.append(margin);... | 8,055 |
public void setLabel(String label) { if (label != this.label) { String oldLabel = this.label; this.label = label; firePropertyChange(LABEL_CHANGED_PROPERTY, oldLabel, label); } } | public void setLabel(String label) { if (label != this.label) { String oldLabel = this.label; this.label = label; firePropertyChange("label", oldLabel, label); } } | 8,056 |
public void setVisible(boolean visible) { boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange(VISIBLE_CHANGED_PROPERTY, old, (boolean) isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilit... | public void setVisible(boolean visible) { boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUtilities.getRoot(invoker); boo... | 8,057 |
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... | 8,058 |
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... | 8,059 |
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... | 8,060 |
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... | 8,061 |
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... | 8,062 |
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... | 8,063 |
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... | 8,064 |
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... | 8,065 |
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... | 8,066 |
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... | 8,067 |
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... | 8,068 |
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... | 8,069 |
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... | 8,070 |
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... | 8,071 |
public Object getAttribute(Object key) { Object result = attributes.getAttribute(key); if (result == null && element_parent != null) { AttributeSet parentSet = element_parent.getAttributes(); if (parentSet != null) result = parentSet.getAttribute(key); } ... | public Object getAttribute(Object key) { Object result = attributes.getAttribute(key); if (result == null) { AttributeSet parentSet = element_parent.getAttributes(); if (parentSet != null) result = parentSet.getAttribute(key); } return result; } | 8,072 |
public Object getAttribute(Object key) { Object result = attributes.getAttribute(key); if (result == null && element_parent != null) { AttributeSet parentSet = element_parent.getAttributes(); if (parentSet != null) result = parentSet.getAttribute(key); } ... | public Object getAttribute(Object key) { Object result = attributes.getAttribute(key); if (result == null && element_parent != null) { AttributeSet parentSet = element_parent.getAttributes(); if (parentSet != null) result = parentSet.getAttribute(key); } ... | 8,073 |
public AttributeSet getResolveParent() { if (attributes.getResolveParent() != null) return attributes.getResolveParent(); return element_parent.getAttributes(); } | public AttributeSet getResolveParent() { return attributes.getResolveParent(); return element_parent.getAttributes(); } | 8,074 |
public AttributeSet getResolveParent() { if (attributes.getResolveParent() != null) return attributes.getResolveParent(); return element_parent.getAttributes(); } | public AttributeSet getResolveParent() { if (attributes.getResolveParent() != null) return attributes.getResolveParent(); } | 8,075 |
public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); try { writeLock(); UndoableEdit temp = content.remove(offset, length); removeUpdate(event); post... | public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); try { writeLock(); removeUpdate(event); postRemoveUpdate(event); fireRemoveUpdate(event); }... | 8,076 |
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString... | public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString... | 8,078 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 8,079 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 8,080 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 8,081 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 8,082 |
protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | protected int layoutRow(FlowView fv, int rowIndex, int pos) { View row = fv.getView(rowIndex); int axis = fv.getFlowAxis(); int span = fv.getFlowSpan(rowIndex); int x = fv.getFlowStart(rowIndex); int offset = pos; View logicalView = getLogicalView(fv); // Special case when span... | 8,083 |
protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r) { // We need to call super here so that the alignment is properly // calculated. SizeRequirements res = super.calculateMinorAxisRequirements(axis, r); res.min... | protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r) { // We need to call super here so that the alignment is properly // calculated. SizeRequirements res = r; if (res == null) res = new SizeRequirements(); res.... | 8,084 |
protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r) { // We need to call super here so that the alignment is properly // calculated. SizeRequirements res = super.calculateMinorAxisRequirements(axis, r); res.min... | protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r) { // We need to call super here so that the alignment is properly // calculated. SizeRequirements res = super.calculateMinorAxisRequirements(axis, r); res.min... | 8,085 |
private double parseExponent(double value) throws NumberFormatException { if (index >= chars.length) return value; switch (chars[index]) { case 'e': case 'E': index++; break; default: throw new NumberFormatException(); } in... | private double parseExponent(double value) throws NumberFormatException { if (index >= chars.length) return value; switch (chars[index]) { case 'e': case 'E': index++; break; default: throw new NumberFormatException(); } in... | 8,088 |
public String getSymbol() { return currencySymbol == null ? getCurrencyCode() : currencySymbol; } | public String getSymbol() { return getSymbol(Locale.getDefault()); } | 8,089 |
public void keyPressed(KeyEvent e) { TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); DefaultMutableTreeNode last = null; if (start != null) last = (DefaultMutableTreeNode) start.getLastPathComponent(); if (last != null) { if (e.get... | public void keyPressed(KeyEvent e) { TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); DefaultMutableTreeNode last = null; if (start != null) last = (DefaultMutableTreeNode) start.getLastPathComponent(); if (last != null) { if (e.get... | 8,090 |
public void keyPressed(KeyEvent e) { TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); DefaultMutableTreeNode last = null; if (start != null) last = (DefaultMutableTreeNode) start.getLastPathComponent(); if (last != null) { if (e.get... | public void keyPressed(KeyEvent e) { TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); DefaultMutableTreeNode last = null; if (start != null) last = (DefaultMutableTreeNode) start.getLastPathComponent(); if (last != null) { if (e.get... | 8,091 |
public void keyPressed(KeyEvent e) { TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); DefaultMutableTreeNode last = null; if (start != null) last = (DefaultMutableTreeNode) start.getLastPathComponent(); if (last != null) { if (e.get... | public void keyPressed(KeyEvent e) { TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); DefaultMutableTreeNode last = null; if (start != null) last = (DefaultMutableTreeNode) start.getLastPathComponent(); if (last != null) { if (e.get... | 8,092 |
public void keyPressed(KeyEvent e) { TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); DefaultMutableTreeNode last = null; if (start != null) last = (DefaultMutableTreeNode) start.getLastPathComponent(); if (last != null) { if (e.get... | public void keyPressed(KeyEvent e) { TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); DefaultMutableTreeNode last = null; if (start != null) last = (DefaultMutableTreeNode) start.getLastPathComponent(); if (last != null) { if (e.get... | 8,093 |
public void keyPressed(KeyEvent e) { TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); DefaultMutableTreeNode last = null; if (start != null) last = (DefaultMutableTreeNode) start.getLastPathComponent(); if (last != null) { if (e.get... | public void keyPressed(KeyEvent e) { TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); DefaultMutableTreeNode last = null; if (start != null) last = (DefaultMutableTreeNode) start.getLastPathComponent(); if (last != null) { if (e.get... | 8,094 |
public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path == null) { // nothing should be selected if user clicks outside of tree BasicT... | public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path == null) { // nothing should be selected if user clicks outside of tree BasicT... | 8,096 |
public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path == null) { // nothing should be selected if user clicks outside of tree BasicT... | public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path != null) { // nothing should be selected if user clicks outside of tree BasicT... | 8,097 |
public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path == null) { // nothing should be selected if user clicks outside of tree BasicT... | public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path == null) { // nothing should be selected if user clicks outside of tree BasicT... | 8,098 |
public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path == null) { // nothing should be selected if user clicks outside of tree BasicT... | public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path == null) { // nothing should be selected if user clicks outside of tree BasicT... | 8,099 |
public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path == null) { // nothing should be selected if user clicks outside of tree BasicT... | public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path == null) { // nothing should be selected if user clicks outside of tree BasicT... | 8,100 |
public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path == null) { // nothing should be selected if user clicks outside of tree BasicT... | public void mouseClicked(MouseEvent e) { Point click = e.getPoint(); int row = ((int) click.getY() / getRowHeight()) - 1; TreePath path = BasicTreeUI.this.tree.getPathForRow(row); if (path == null) { // nothing should be selected if user clicks outside of tree ... | 8,101 |
private Rectangle getCellBounds(int x, int y, Object cell) { if (cell != null) { String s = cell.toString(); Font f = tree.getFont(); FontMetrics fm = tree.getToolkit().getFontMetrics(tree.getFont()); // add 22 to width for icon, FIXME later return new Rectangle(x, y, SwingUtilities.compu... | Rectangle getCellBounds(int x, int y, Object cell) { if (cell != null) { String s = cell.toString(); Font f = tree.getFont(); FontMetrics fm = tree.getToolkit().getFontMetrics(tree.getFont()); // add 22 to width for icon, FIXME later return new Rectangle(x, y, SwingUtilities.computeString... | 8,103 |
private Rectangle getCellBounds(int x, int y, Object cell) { if (cell != null) { String s = cell.toString(); Font f = tree.getFont(); FontMetrics fm = tree.getToolkit().getFontMetrics(tree.getFont()); // add 22 to width for icon, FIXME later return new Rectangle(x, y, SwingUtilities.compu... | private Rectangle getCellBounds(int x, int y, Object cell) { if (cell != null) { String s = cell.toString(); Font f = tree.getFont(); FontMetrics fm = tree.getToolkit().getFontMetrics(tree.getFont()); // add 22 to width for icon, FIXME later return new Rectangle(x, y, SwingUtilities.compu... | 8,104 |
public TreePath getClosestPathForLocation(JTree tree, int x, int y) { return treeState.getPathClosestTo(x, y); } | public TreePath getClosestPathForLocation(JTree tree, int x, int y) { int row = Math.round(y / getRowHeight()); TreePath path = getPathForRow(tree, row); while (row > 0 && path == null) { --row; path = getPathForRow(tree, row); } return path; } | 8,105 |
private DefaultMutableTreeNode getNextVisibleNode(DefaultMutableTreeNode node) { DefaultMutableTreeNode next = null; TreePath current = null; if (node != null) next = node.getNextNode(); if (next != null) { current = new TreePath(next.getPath()); if (tree.isVisible(... | DefaultMutableTreeNode getNextVisibleNode(DefaultMutableTreeNode node) { DefaultMutableTreeNode next = null; TreePath current = null; if (node != null) next = node.getNextNode(); if (next != null) { current = new TreePath(next.getPath()); if (tree.isVisible(current)... | 8,106 |
private DefaultMutableTreeNode getPreviousVisibleNode (DefaultMutableTreeNode node) { DefaultMutableTreeNode prev = null; TreePath current = null; if (node != null) prev = node.getPreviousNode(); if (prev != null) { current = new ... | DefaultMutableTreeNode getPreviousVisibleNode (DefaultMutableTreeNode node) { DefaultMutableTreeNode prev = null; TreePath current = null; if (node != null) prev = node.getPreviousNode(); if (prev != null) { current = new TreePath... | 8,109 |
protected boolean isRootVisible() { return treeState.isRootVisible(); } | protected boolean isRootVisible() { return tree.isRootVisible(); } | 8,112 |
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; TreeModel mod = tree.getModel(); g.translate(10, 10); paintRecursive(g, 0, 0, 0, 0, tree, mod, mod.getRoot()); g.translate(-10, -10); } | public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; TreeModel mod = tree.getModel(); g.translate(10, 10); paintRecursive(g, 0, 0, 0, 0, tree, mod, mod.getRoot()); g.translate(-10, -10); } | 8,113 |
private int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int... | int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int halfHei... | 8,114 |
private int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int... | private int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int... | 8,115 |
private int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int... | private int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int... | 8,116 |
private int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int... | private int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int... | 8,117 |
private int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int... | private int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int... | 8,118 |
private void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.isPathSelected(path)) tree.removeSelectionPath(path); else if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION) { tree.get... | void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.isPathSelected(path)) tree.removeSelectionPath(path); else if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION) { tree.getSelectio... | 8,119 |
protected void setModel(TreeModel model) { treeState.setModel(model); treeModel = model; } | protected void setModel(TreeModel model) { tree.setModel(model); treeModel = model; } | 8,120 |
protected void setRootVisible(boolean newValue) { treeState.setRootVisible(newValue); } | protected void setRootVisible(boolean newValue) { tree.setRootVisible(newValue); } | 8,121 |
public void firePropertyChange(String propertyName, Object oldValue, Object newValue) { // Does nothing. } | protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { // Does nothing. } | 8,122 |
protected void copyStaticFields(VmSystemClassLoader cl, VmSharedStatics sharedStatics, VmIsolatedStatics isolatedStatics, NativeStream os, ObjectEmitter emitter) throws ClassNotFoundException { for (VmType< ? > type : cl.getLoadedClasses()) { final String name = ty... | protected void copyStaticFields(VmSystemClassLoader cl, VmSharedStatics sharedStatics, VmIsolatedStatics isolatedStatics, NativeStream os, ObjectEmitter emitter) throws ClassNotFoundException { for (VmType< ? > type : cl.getLoadedClasses()) { final String name = ty... | 8,123 |
private final void doExecute() throws BuildException { debug = (getProject().getProperty("jnode.debug") != null); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); if (version == nul... | private final void doExecute() throws BuildException { debug = (getProject().getProperty("jnode.debug") != null); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); if (version == nul... | 8,124 |
protected Class resolveProxyClass(String intfs[]) throws IOException, ClassNotFoundException{ String annotation = (String)getAnnotation(); Class clss[] = new Class[intfs.length]; if(annotation == null) clss[0] = RMIClassLoader.loadClass(intfs[0]); else clss[0] = RMIClassLoader.loadClas... | protected Class resolveProxyClass(String intfs[]) throws IOException, ClassNotFoundException{ String annotation = (String)getAnnotation(); Class clss[] = new Class[intfs.length]; if(annotation == null) clss[0] = RMIClassLoader.loadClass(intfs[0]); else clss[0] = RMIClassLoader.loadClas... | 8,125 |
protected Class resolveProxyClass(String intfs[]) throws IOException, ClassNotFoundException{ String annotation = (String)getAnnotation(); Class clss[] = new Class[intfs.length]; if(annotation == null) clss[0] = RMIClassLoader.loadClass(intfs[0]); else clss[0] = RMIClassLoader.loadClas... | protected Class resolveProxyClass(String intfs[]) throws IOException, ClassNotFoundException{ String annotation = (String)getAnnotation(); Class clss[] = new Class[intfs.length]; if(annotation == null) clss[0] = RMIClassLoader.loadClass(intfs[0]); else clss[0] = RMIClassLoader.loadClas... | 8,126 |
protected void specificIOStyleToXDF( OutputStream outputstream, String indent) { synchronized (attribHash) { //open the node writeOut(outputstream, "<" + classXDFNodeName); //writeOutAttributes Object attrib=null; if ( (attrib=getCount()) !=null) writeOut( outputstream, " count=\"" ... | protected void specificIOStyleToXDF( OutputStream outputstream, String indent) { synchronized (attribHash) { //open the node writeOut(outputstream, "<" + classXDFNodeName); //writeOutAttributes Object attrib=null; if ( (attrib=getCount()) !=null) writeOut( outputstream, " count=\"" ... | 8,127 |
protected void specificIOStyleToXDF( OutputStream outputstream, String indent) { synchronized (attribHash) { //open the node writeOut(outputstream, "<" + classXDFNodeName); //writeOutAttributes Object attrib=null; if ( (attrib=getCount()) !=null) writeOut( outputstream, " count=\"" ... | protected void specificIOStyleToXDF( OutputStream outputstream, String indent) { synchronized (attribHash) { //open the node writeOut(outputstream, "<" + classXDFNodeName); //writeOutAttributes Object attrib=null; if ( (attrib=getCount()) !=null) writeOut( outputstream, " count=\"" ... | 8,128 |
public abstract PageFormat pageDialog(PageFormat page_format); | public abstract PageFormat pageDialog(PageFormat page_format) throws HeadlessException; | 8,129 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.