bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
protected void installComponents() { // create drop down list of items popup = createPopup(); listBox = popup.getList(); // set editor and renderer for the combo box. Editor is used // only if combo box becomes editable, otherwise renderer is used // to paint the selected item; combobox is not edit...
protected void installComponents() { // create drop down list of items popup = createPopup(); listBox = popup.getList(); // set editor and renderer for the combo box. Editor is used // only if combo box becomes editable, otherwise renderer is used // to paint the selected item; combobox is not edit...
39,129
protected void installDefaults() { LookAndFeel.installColorsAndFont(comboBox, "ComboBox.background", "ComboBox.foreground", "ComboBox.font"); // fetch the button color scheme buttonBackground = UIManager.getColor("ComboBox.buttonBackground"); buttonShadow = UIManag...
protected void installDefaults() { LookAndFeel.installColorsAndFont(comboBox, "ComboBox.background", "ComboBox.foreground", "ComboBox.font"); // fetch the button color scheme buttonBackground = UIManager.getColor("ComboBox.buttonBackground"); buttonShadow = UIManag...
39,130
protected void installListeners() { // install combo box's listeners propertyChangeListener = createPropertyChangeListener(); comboBox.addPropertyChangeListener(propertyChangeListener); focusListener = createFocusListener(); editor.addFocusListener(focusListener); itemListener = createItemListener(...
protected void installListeners() { // install combo box's listeners propertyChangeListener = createPropertyChangeListener(); comboBox.addPropertyChangeListener(propertyChangeListener); focusListener = createFocusListener(); editor.addFocusListener(focusListener); itemListener = createItemListener(...
39,131
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JComboBox) { comboBox = (JComboBox) c; comboBox.setOpaque(true); comboBox.setLayout(createLayoutManager()); installDefaults(); installComponents(); installListeners(); installKeyboardActions(); } }
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JComboBox) { comboBox = (JComboBox) c; comboBox.setOpaque(true); comboBox.setLayout(createLayoutManager()); installDefaults(); installComponents(); installListeners(); installKeyboardActions(); } }
39,133
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
39,136
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
39,137
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
39,138
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
39,139
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
39,140
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
public void paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) { if (! comboBox.isEditable()) { Object currentValue = comboBox.getSelectedItem(); boolean isPressed = arrowButton.getModel().isPressed(); /* Gets the component to be drawn for the current value. * If there is currently no selecte...
39,141
public void paintCurrentValueBackground(Graphics g, Rectangle bounds, boolean hasFocus) { // background is painted by renderer, so it seems that nothing // should be done here. }
Color saved = g.getColor(); if (comboBox.isEnabled()) { g.setColor(UIManager.getColor("UIManager.background")); } else { g.setColor(UIManager.getColor("UIManager.disabledBackground")); } g.fillRect(bounds.x, bounds.y, bounds.width, bounds.height); g.setColor(saved); public void paintCurrentValueBackground(Graphics g, R...
39,142
public void setPopupVisible(JComboBox c, boolean v) { if (v) popup.show(); else popup.hide(); if (comboBox.isEditable()) editor.requestFocus(); else comboBox.requestFocus(); }
public void setPopupVisible(JComboBox c, boolean v) { if (v) popup.show(); else popup.hide(); if (comboBox.isEditable()) editor.requestFocus(); else comboBox.requestFocus(); }
39,144
public void unconfigureArrowButton() { // Nothing to do here yet. }
if (arrowButton != null) { if (popupMouseListener != null) arrowButton.removeMouseListener(popupMouseListener); if (popupMouseMotionListener != null) arrowButton.removeMouseMotionListener(popupMouseMotionListener); } if (arrowButton != null) { if (popupMouseListener != null) arrowButton.removeMouseListener(popupMouseLi...
39,145
protected void unconfigureEditor() { // FIXME: Need to implement }
if (popupKeyListener != null) editor.removeKeyListener(popupKeyListener); if (popupKeyListener != null) editor.removeKeyListener(popupKeyListener); protectedif (popupKeyListener != null) editor.removeKeyListener(popupKeyListener); voidif (popupKeyListener != null) editor.removeKeyListener(popupKeyListener); unconfigure...
39,146
protected void uninstallComponents() { // uninstall arrow button unconfigureArrowButton(); comboBox.remove(arrowButton); arrowButton = null; listBox = null; popup = null; comboBox.setRenderer(null); // if the editor is not an instanceof UIResource, it was not set by the // UI delegate, so ...
protected void uninstallComponents() { // uninstall arrow button unconfigureArrowButton(); comboBox.remove(arrowButton); arrowButton = null; popup = null; comboBox.setRenderer(null); // if the editor is not an instanceof UIResource, it was not set by the // UI delegate, so don't clear it.....
39,147
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); buttonBackgroun...
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); buttonBackgroun...
39,149
protected void uninstallListeners() { comboBox.removePropertyChangeListener(propertyChangeListener); propertyChangeListener = null; comboBox.removeFocusListener(focusListener); listBox.removeFocusListener(focusListener); focusListener = null; comboBox.removeItemListener(itemListener); itemListen...
protected void uninstallListeners() { comboBox.removePropertyChangeListener(propertyChangeListener); propertyChangeListener = null; comboBox.removeFocusListener(focusListener); listBox.removeFocusListener(focusListener); focusListener = null; comboBox.removeItemListener(itemListener); itemListen...
39,150
public void uninstallUI(JComponent c) { uninstallKeyboardActions(); uninstallListeners(); uninstallComponents(); uninstallDefaults(); comboBox = null; }
public void uninstallUI(JComponent c) { uninstallKeyboardActions(); uninstallListeners(); uninstallDefaults(); comboBox = null; }
39,152
float determineMaxLineLength() { // if the longest line is cached, return the cached value if (maxLineLength != -1) return maxLineLength; // otherwise we have to go through all the lines and find it Element el = getElement(); Segment seg = getLineBuffer(); float span = 0; for (int i = 0...
float determineMaxLineLength() { // if the longest line is cached, return the cached value if (maxLineLength != -1) return maxLineLength; // otherwise we have to go through all the lines and find it Element el = getElement(); Segment seg = getLineBuffer(); float span = 0; for (int i = 0...
39,155
float determineMaxLineLength() { // if the longest line is cached, return the cached value if (maxLineLength != -1) return maxLineLength; // otherwise we have to go through all the lines and find it Element el = getElement(); Segment seg = getLineBuffer(); float span = 0; for (int i = 0...
float determineMaxLineLength() { // if the longest line is cached, return the cached value if (maxLineLength != -1) return maxLineLength; // otherwise we have to go through all the lines and find it Element el = getElement(); Segment seg = getLineBuffer(); float span = 0; for (int i = 0...
39,156
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset()); //drawSelectedText(g, , , , ); } ...
AssertionError ae = new AssertionError("Unexpected bad location"); ae.initCause(e); throw ae; AssertionError ae = new AssertionError("Unexpected bad location"); ae.initCause(e); throw ae; protectedAssertionError ae = new AssertionError("Unexpected bad location"); ae.initCause(e); throw ae; voidAssertionError ae = new A...
39,157
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { Element el = getElement(); ElementChange ec = changes.getChange(el); // If ec is null then no lines were added or removed, just // repaint the changed line if (ec == null) { int line = getElement().getElement...
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { Element el = getElement(); ElementChange ec = changes.getChange(el); // If ec is null then no lines were added or removed, just // repaint the changed line if (ec == null) { int line = getElement().getElement...
39,158
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position ...
publicintviewToModel(floatx,floaty,Shapea,Position.Bias[]b){Rectanglerec=a.getBounds();Documentdoc=getDocument();Elementroot=doc.getDefaultRootElement();//PlainViewdoesn'tsupportline-wrappingsowecanfindoutwhich//Elementwasclickedonjustbythey-positionintlineClicked=(int)(y-rec.y)/metrics.getHeight();if(lineClicked>=root...
39,159
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position ...
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position ...
39,160
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position ...
AssertionError ae = new AssertionError("Unexpected bad location"); ae.initCause(ble); throw ae; AssertionError ae = new AssertionError("Unexpected bad location"); ae.initCause(ble); throw ae; publicAssertionError ae = new AssertionError("Unexpected bad location"); ae.initCause(ble); throw ae; intAssertionError ae = new...
39,161
protected Assembler() { pseudo = new PseudoInstructions(labels); hwSupport = new X86Support(this, instructions, labels); }
protected Assembler() { pseudo = new PseudoInstructions(labels); hwSupport = new X86Support(this, instructions, labels); }
39,162
protected void validate() throws OptionException { if (fileAndAlias.size() < 1) throw new OptionException(Messages.getString("Main.133")); //$NON-NLS-1$ jarFileName = (String) fileAndAlias.get(0); if (! verify) // must have an ALIAS. use "mykey" if undefined if (fileAndAlias.size() <...
protected void validate() throws OptionException { if (fileAndAlias.size() < 1) throw new OptionException(Messages.getString("Main.133")); //$NON-NLS-1$ jarFileName = (String) fileAndAlias.get(0); if (! verify) // must have an ALIAS. use "mykey" if undefined if (fileAndAlias.size() <...
39,163
private void installNewProvider() { log.entering(this.getClass().getName(), "installNewProvider"); //$NON-NLS-1$ providerInstalled = ProviderUtil.addProvider(provider) != -1; log.exiting(this.getClass().getName(), "installNewProvider"); //$NON-NLS-1$ }
privatevoidinstallNewProvider(){log.entering(this.getClass().getName(),"installNewProvider");//$NON-NLS-1$providerInstalled=ProviderUtil.addProvider(provider)!=-1;log.exiting(this.getClass().getName(),"installNewProvider");//$NON-NLS-1$}
39,164
private void installNewProvider() { log.entering(this.getClass().getName(), "installNewProvider"); //$NON-NLS-1$ providerInstalled = ProviderUtil.addProvider(provider) != -1; log.exiting(this.getClass().getName(), "installNewProvider"); //$NON-NLS-1$ }
if (Configuration.DEBUG) if (Configuration.DEBUG) privateif (Configuration.DEBUG) voidif (Configuration.DEBUG) installNewProvider()if (Configuration.DEBUG) if (Configuration.DEBUG) {if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) log.entering(this.getClass().getName()...
39,165
public static final void main(String[] args) { log.entering(Main.class.getName(), "main", args); //$NON-NLS-1$ Main tool = new Main(); int result = 1; try { tool.processArgs(args); tool.start(); result = 0; } catch (SecurityException x) { log.throwing(Main.cl...
publicstaticfinalvoidmain(String[]args){log.entering(Main.class.getName(),"main",args);//$NON-NLS-1$Maintool=newMain();intresult=1;try{tool.processArgs(args);tool.start();result=0;}catch(SecurityExceptionx){log.throwing(Main.class.getName(),"main",x);//$NON-NLS-1$System.err.println(Messages.getString("Main.7")+x.getMes...
39,166
public static final void main(String[] args) { log.entering(Main.class.getName(), "main", args); //$NON-NLS-1$ Main tool = new Main(); int result = 1; try { tool.processArgs(args); tool.start(); result = 0; } catch (SecurityException x) { log.throwing(Main.cl...
if (Configuration.DEBUG) if (Configuration.DEBUG) publicif (Configuration.DEBUG) staticif (Configuration.DEBUG) finalif (Configuration.DEBUG) voidif (Configuration.DEBUG) main(String[]if (Configuration.DEBUG) args)if (Configuration.DEBUG) if (Configuration.DEBUG) {if (Configuration.DEBUG) if (Configuration.DEBUG) if (C...
39,167
private void processArgs(String[] args) throws Exception { log.entering(this.getClass().getName(), "processArgs", args); //$NON-NLS-1$ cmdLineParser = new ToolParser(); cmdLineParser.initializeParser(); cmdLineParser.parse(args, new ToolParserCallback()); setupCommonParams(); if (verify) { ...
privatevoidprocessArgs(String[]args)throwsException{log.entering(this.getClass().getName(),"processArgs",args);//$NON-NLS-1$cmdLineParser=newToolParser();cmdLineParser.initializeParser();cmdLineParser.parse(args,newToolParserCallback());setupCommonParams();if(verify){log.finer("Willverifywiththefollowingparameters:");/...
39,168
private void processArgs(String[] args) throws Exception { log.entering(this.getClass().getName(), "processArgs", args); //$NON-NLS-1$ cmdLineParser = new ToolParser(); cmdLineParser.initializeParser(); cmdLineParser.parse(args, new ToolParserCallback()); setupCommonParams(); if (verify) { ...
private void processArgs(String[] args) throws Exception { log.entering(this.getClass().getName(), "processArgs", args); //$NON-NLS-1$ cmdLineParser = new ToolParser(); cmdLineParser.initializeParser(); cmdLineParser.parse(args, new ToolParserCallback()); setupCommonParams(); if (verify) { ...
39,169
private void processArgs(String[] args) throws Exception { log.entering(this.getClass().getName(), "processArgs", args); //$NON-NLS-1$ cmdLineParser = new ToolParser(); cmdLineParser.initializeParser(); cmdLineParser.parse(args, new ToolParserCallback()); setupCommonParams(); if (verify) { ...
private void processArgs(String[] args) throws Exception { log.entering(this.getClass().getName(), "processArgs", args); //$NON-NLS-1$ cmdLineParser = new ToolParser(); cmdLineParser.initializeParser(); cmdLineParser.parse(args, new ToolParserCallback()); setupCommonParams(); if (verify) { ...
39,170
private void processArgs(String[] args) throws Exception { log.entering(this.getClass().getName(), "processArgs", args); //$NON-NLS-1$ cmdLineParser = new ToolParser(); cmdLineParser.initializeParser(); cmdLineParser.parse(args, new ToolParserCallback()); setupCommonParams(); if (verify) { ...
} if (Configuration.DEBUG) } if (Configuration.DEBUG) private} if (Configuration.DEBUG) void} if (Configuration.DEBUG) processArgs(String[]} if (Configuration.DEBUG) args)} if (Configuration.DEBUG) throws} if (Configuration.DEBUG) Exception} if (Configuration.DEBUG) } if (Configuration.DEBUG) {} if (Configuration.DEBUG...
39,171
private void setupCommonParams() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException { log.entering(this.getClass().getName(), "setupCommonParams"); //$NON-NLS-1$ File jar = new File(jarFileName); if (! jar.exists()) throw new FileNotFoundException(jarFileNam...
privatevoidsetupCommonParams()throwsInstantiationException,IllegalAccessException,ClassNotFoundException,IOException{log.entering(this.getClass().getName(),"setupCommonParams");//$NON-NLS-1$Filejar=newFile(jarFileName);if(!jar.exists())thrownewFileNotFoundException(jarFileName);if(jar.isDirectory())thrownewIOException(...
39,172
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering(this.getClass().getName(), "setupSigningParams"); //$NON-NLS-1$ if (ksURL == null || ksURL.trim().length() ==...
privatevoidsetupSigningParams()throwsKeyStoreException,IOException,NoSuchAlgorithmException,CertificateException,UnsupportedCallbackException,UnrecoverableKeyException{log.entering(this.getClass().getName(),"setupSigningParams");//$NON-NLS-1$if(ksURL==null||ksURL.trim().length()==0){StringuserHome=SystemProperties.getP...
39,174
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering(this.getClass().getName(), "setupSigningParams"); //$NON-NLS-1$ if (ksURL == null || ksURL.trim().length() ==...
private void setupSigningParams() throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException, UnsupportedCallbackException, UnrecoverableKeyException { log.entering(this.getClass().getName(), "setupSigningParams"); //$NON-NLS-1$ if (ksURL == null || ksURL.trim().length() ==...
39,175
private void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ if (verify) { JarVerifier jv = new JarVerifier(this); jv.start(); } else { JarSigner js = new JarSigner(this); js.start(); } log.exiting(this.getClass()....
privatevoidstart()throwsException{log.entering(this.getClass().getName(),"start");//$NON-NLS-1$if(verify){JarVerifierjv=newJarVerifier(this);jv.start();}else{JarSignerjs=newJarSigner(this);js.start();}log.exiting(this.getClass().getName(),"start");//$NON-NLS-1$}
39,177
private void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ if (verify) { JarVerifier jv = new JarVerifier(this); jv.start(); } else { JarSigner js = new JarSigner(this); js.start(); } log.exiting(this.getClass()....
if (Configuration.DEBUG) if (Configuration.DEBUG) privateif (Configuration.DEBUG) voidif (Configuration.DEBUG) start()if (Configuration.DEBUG) throwsif (Configuration.DEBUG) Exceptionif (Configuration.DEBUG) if (Configuration.DEBUG) {if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configu...
39,178
private void teardown() { log.entering(this.getClass().getName(), "teardown"); //$NON-NLS-1$ if (providerInstalled) ProviderUtil.removeProvider(provider.getName()); log.exiting(this.getClass().getName(), "teardown"); //$NON-NLS-1$ }
privatevoidteardown(){log.entering(this.getClass().getName(),"teardown");//$NON-NLS-1$if(providerInstalled)ProviderUtil.removeProvider(provider.getName());log.exiting(this.getClass().getName(),"teardown");//$NON-NLS-1$}
39,179
protected int getRowX(int row, int depth) { return depth * totalChildIndent; }
protected int getRowX(int row, int depth) { return BasicTreeUI.this.getRowX(row, depth); }
39,199
public TreeCancelEditingAction(String name) { // TODO: Implement this properly. }
super(name); super(name); super(name); super(name); publicsuper(name); TreeCancelEditingAction(Stringsuper(name); name)super(name); super(name); super(name); super(name); {super(name); super(name); super(name); super(name); super(name); super(name); //super(name); TODO:super(name); Implementsuper(name); thissuper(name)...
39,201
public void actionPerformed(ActionEvent e) { // TODO: Implement this properly. }
if (isEnabled() && tree.isEditing()) tree.cancelEditing(); if (isEnabled() && tree.isEditing()) tree.cancelEditing(); if (isEnabled() && tree.isEditing()) tree.cancelEditing(); if (isEnabled() && tree.isEditing()) tree.cancelEditing(); publicif (isEnabled() && tree.isEditing()) tree.cancelEditing(); voidif (isEnabled()...
39,202
protected Color getHashColor() { return UIManager.getColor("Tree.hash"); }
protected Color getHashColor() { return hashColor; }
39,215
protected void setHashColor(Color color) { // FIXME: Putting something in the UIDefaults map is certainly wrong. UIManager.put("Tree.hash", color); }
protected void setHashColor(Color color) { // FIXME: Putting something in the UIDefaults map is certainly wrong. hashColor = color; }
39,219
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) { // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) { thr...
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) throw n...
39,220
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) { // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) { thr...
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) { // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) { thr...
39,221
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) { // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) { thr...
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) { // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) { thr...
39,222
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) { // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) { thr...
privatestaticfinalBigIntegerRSADP(finalRSAPrivateKeyK,BigIntegerc){//1.Iftherepresentativecisnotbetween0andn-1,output//"representativeoutofrange"andstop.finalBigIntegern=K.getModulus();if(c.compareTo(ZERO)<0||c.compareTo(n.subtract(ONE))>0){thrownewIllegalArgumentException();}//2.Therepresentativemiscomputedasfollows.B...
39,223
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) { // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) { thr...
privatestaticfinalBigIntegerRSADP(finalRSAPrivateKeyK,BigIntegerc){//1.Iftherepresentativecisnotbetween0andn-1,output//"representativeoutofrange"andstop.finalBigIntegern=K.getModulus();if(c.compareTo(ZERO)<0||c.compareTo(n.subtract(ONE))>0){thrownewIllegalArgumentException();}//2.Therepresentativemiscomputedasfollows.B...
39,224
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) { // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) { thr...
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) { // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) { thr...
39,225
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) { // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) { thr...
private static final BigInteger RSADP(final RSAPrivateKey K, BigInteger c) { // 1. If the representative c is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (c.compareTo(ZERO) < 0 || c.compareTo(n.subtract(ONE)) > 0) { thr...
39,226
private static final BigInteger RSAEP(final RSAPublicKey K, final BigInteger m) { // 1. If the representative m is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (m.compareTo(ZERO) < 0 || m.compareTo(n.subtract(ONE)) > 0) { ...
private static final BigInteger RSAEP(final RSAPublicKey K, final BigInteger m) // 1. If the representative m is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (m.compareTo(ZERO) < 0 || m.compareTo(n.subtract(ONE)) > 0) th...
39,227
private static final BigInteger RSAEP(final RSAPublicKey K, final BigInteger m) { // 1. If the representative m is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (m.compareTo(ZERO) < 0 || m.compareTo(n.subtract(ONE)) > 0) { ...
private static final BigInteger RSAEP(final RSAPublicKey K, final BigInteger m) { // 1. If the representative m is not between 0 and n - 1, output // "representative out of range" and stop. final BigInteger n = K.getModulus(); if (m.compareTo(ZERO) < 0 || m.compareTo(n.subtract(ONE)) > 0) { ...
39,228
public static final BigInteger decrypt(final PrivateKey K, final BigInteger c) { try { return RSADP((RSAPrivateKey) K, c); } catch (IllegalArgumentException x) { throw new IllegalArgumentException( "ciphertext representative out of range");...
public static final BigInteger decrypt(final PrivateKey K, final BigInteger c) { try { return RSADP((RSAPrivateKey) K, c); } catch (IllegalArgumentException x) { throw new IllegalArgumentException( "ciphertext representative out of range");...
39,229
public static final BigInteger encrypt(final PublicKey K, final BigInteger m) { try { return RSAEP((RSAPublicKey) K, m); } catch (IllegalArgumentException x) { throw new IllegalArgumentException( "message representative out of range"); ...
public static final BigInteger encrypt(final PublicKey K, final BigInteger m) { try { return RSAEP((RSAPublicKey) K, m); } catch (IllegalArgumentException x) { throw new IllegalArgumentException( "message representative out of range"); ...
39,230
public float getAscent(GlyphView v) { Font font = v.getFont(); FontMetrics fm = v.getContainer().getFontMetrics(font); return fm.getAscent(); }
public float getAscent(GlyphView v) { Font font = v.getFont(); FontMetrics fm = v.getContainer().getFontMetrics(font); return fm.getAscent(); }
39,231
public int getBoundedPosition(GlyphView v, int p0, float x, float len) { TabExpander te = v.getTabExpander(); Segment txt = v.getText(p0, v.getEndOffset()); Font font = v.getFont(); FontMetrics fm = v.getContainer().getFontMetrics(font); int pos = Utilities.getTabbedTextOffset(txt, fm, (...
public int getBoundedPosition(GlyphView v, int p0, float x, float len) { TabExpander te = v.getTabExpander(); Segment txt = v.getText(p0, v.getEndOffset()); Font font = v.getFont(); FontMetrics fm = v.getContainer().getFontMetrics(font); int pos = Utilities.getTabbedTextOffset(txt, fm, (...
39,232
public int getBoundedPosition(GlyphView v, int p0, float x, float len) { TabExpander te = v.getTabExpander(); Segment txt = v.getText(p0, v.getEndOffset()); Font font = v.getFont(); FontMetrics fm = v.getContainer().getFontMetrics(font); int pos = Utilities.getTabbedTextOffset(txt, fm, (...
public int getBoundedPosition(GlyphView v, int p0, float x, float len) { TabExpander te = v.getTabExpander(); Segment txt = v.getText(p0, v.getEndOffset()); Font font = v.getFont(); FontMetrics fm = v.getContainer().getFontMetrics(font); int pos = Utilities.getTabbedTextOffset(txt, fm, (...
39,233
public float getDescent(GlyphView v) { Font font = v.getFont(); FontMetrics fm = v.getContainer().getFontMetrics(font); return fm.getDescent(); }
public float getDescent(GlyphView v) { Font font = v.getFont(); FontMetrics fm = v.getContainer().getFontMetrics(font); return fm.getDescent(); }
39,234
public float getHeight(GlyphView view) { Font font = view.getFont(); FontMetrics metrics = Toolkit.getDefaultToolkit().getFontMetrics(font); float height = metrics.getHeight(); return height; }
public float getHeight(GlyphView view) { Font font = view.getFont(); FontMetrics metrics = Toolkit.getDefaultToolkit().getFontMetrics(font); float height = metrics.getHeight(); return height; }
39,235
public float getSpan(GlyphView view, int p0, int p1, TabExpander te, float x) { Font font = view.getFont(); FontMetrics fm = Toolkit.getDefaultToolkit().getFontMetrics(font); Segment txt = view.getText(p0, p1); int span = Utilities.getTabbedTextWidth(txt, fm, (int) x, ...
public float getSpan(GlyphView view, int p0, int p1, TabExpander te, float x) { Font font = view.getFont(); FontMetrics fm = Toolkit.getDefaultToolkit().getFontMetrics(font); Segment txt = view.getText(p0, p1); int span = Utilities.getTabbedTextWidth(txt, fm, (int) x, ...
39,236
public float getSpan(GlyphView view, int p0, int p1, TabExpander te, float x) { Font font = view.getFont(); FontMetrics fm = Toolkit.getDefaultToolkit().getFontMetrics(font); Segment txt = view.getText(p0, p1); int span = Utilities.getTabbedTextWidth(txt, fm, (int) x, ...
public float getSpan(GlyphView view, int p0, int p1, TabExpander te, float x) { Font font = view.getFont(); FontMetrics fm = Toolkit.getDefaultToolkit().getFontMetrics(font); Segment txt = view.getText(p0, p1); int span = Utilities.getTabbedTextWidth(txt, fontMetrics, ...
39,237
public Shape modelToView(GlyphView view, int pos, Position.Bias b, Shape a) throws BadLocationException { Element el = view.getElement(); Font font = view.getFont(); FontMetrics fm = view.getContainer().getFontMetrics(font); Segment txt = view.getText(el.getSt...
public Shape modelToView(GlyphView view, int pos, Position.Bias b, Shape a) throws BadLocationException { Element el = view.getElement(); Font font = view.getFont(); FontMetrics fm = view.getContainer().getFontMetrics(font); Segment txt = view.getText(el.getSt...
39,238
public Shape modelToView(GlyphView view, int pos, Position.Bias b, Shape a) throws BadLocationException { Element el = view.getElement(); Font font = view.getFont(); FontMetrics fm = view.getContainer().getFontMetrics(font); Segment txt = view.getText(el.getSt...
public Shape modelToView(GlyphView view, int pos, Position.Bias b, Shape a) throws BadLocationException { Element el = view.getElement(); Font font = view.getFont(); FontMetrics fm = view.getContainer().getFontMetrics(font); Segment txt = view.getText(el.getSt...
39,239
public Shape modelToView(GlyphView view, int pos, Position.Bias b, Shape a) throws BadLocationException { Element el = view.getElement(); Font font = view.getFont(); FontMetrics fm = view.getContainer().getFontMetrics(font); Segment txt = view.getText(el.getSt...
public Shape modelToView(GlyphView view, int pos, Position.Bias b, Shape a) throws BadLocationException { Element el = view.getElement(); Font font = view.getFont(); FontMetrics fm = view.getContainer().getFontMetrics(font); Segment txt = view.getText(el.getSt...
39,240
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
39,241
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
39,242
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
39,243
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
39,244
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
39,245
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
public void paint(GlyphView view, Graphics g, Shape a, int p0, int p1) { Color oldColor = g.getColor(); int height = (int) getHeight(view); Segment txt = view.getText(p0, p1); Rectangle bounds = a.getBounds(); TabExpander tabEx = null; View parent = view.getPare...
39,246
public int viewToModel(GlyphView v, float x, float y, Shape a, Bias[] biasRet) { Rectangle b = a.getBounds(); int pos = getBoundedPosition(v, v.getStartOffset(), b.x, x - b.x); return pos; }
public int viewToModel(GlyphView v, float x, float y, Shape a, Bias[] biasRet) { Rectangle b = a.getBounds(); int pos = getBoundedPosition(v, v.getStartOffset(), b.x, x - b.x); return pos; }
39,247
public GlyphView(Element element) { super(element); startOffset = -1; endOffset = -1; }
public GlyphView(Element element) { super(element); startOffset = -1; endOffset = -1; }
39,248
public View breakView(int axis, int p0, float pos, float len) { if (axis == Y_AXIS) return this; checkPainter(); // Try to find a suitable line break. Segment txt = new Segment(); try { int start = getStartOffset(); int length = getEndOffset() - start; getDocument().getT...
public View breakView(int axis, int p0, float pos, float len) { if (axis == Y_AXIS) return this; checkPainter(); // Try to find a suitable line break. Segment txt = new Segment(); try { int start = getStartOffset(); int length = getEndOffset() - start; getDocument().getT...
39,249
public View breakView(int axis, int p0, float pos, float len) { if (axis == Y_AXIS) return this; checkPainter(); // Try to find a suitable line break. Segment txt = new Segment(); try { int start = getStartOffset(); int length = getEndOffset() - start; getDocument().getT...
public View breakView(int axis, int p0, float pos, float len) { if (axis == Y_AXIS) return this; checkPainter(); // Try to find a suitable line break. Segment txt = new Segment(); try { int start = getStartOffset(); int length = getEndOffset() - start; getDocument().getT...
39,250
public View breakView(int axis, int p0, float pos, float len) { if (axis == Y_AXIS) return this; checkPainter(); // Try to find a suitable line break. Segment txt = new Segment(); try { int start = getStartOffset(); int length = getEndOffset() - start; getDocument().getT...
public View breakView(int axis, int p0, float pos, float len) { if (axis == Y_AXIS) return this; checkPainter(); // Try to find a suitable line break. Segment txt = new Segment(); try { int start = getStartOffset(); int length = getEndOffset() - start; getDocument().getT...
39,251
public View breakView(int axis, int p0, float pos, float len) { if (axis == Y_AXIS) return this; checkPainter(); // Try to find a suitable line break. Segment txt = new Segment(); try { int start = getStartOffset(); int length = getEndOffset() - start; getDocument().getT...
public View breakView(int axis, int p0, float pos, float len) { if (axis == Y_AXIS) return this; checkPainter(); // Try to find a suitable line break. Segment txt = new Segment(); try { int start = getStartOffset(); int length = getEndOffset() - start; getDocument().getT...
39,252
public void changedUpdate(DocumentEvent e, Shape a, ViewFactory vf) { preferenceChanged(this, true, true); }
public void changedUpdate(DocumentEvent e, Shape a, ViewFactory vf) { preferenceChanged(null, true, true); }
39,253
public View createFragment(int p0, int p1) { GlyphView fragment = (GlyphView) clone(); if (p0 != getStartOffset()) fragment.startOffset = p0; if (p1 != getEndOffset()) fragment.endOffset = p1; return fragment; }
public View createFragment(int p0, int p1) { GlyphView fragment = (GlyphView) clone(); if (p0 != getStartOffset()) fragment.startOffset = p0; if (p1 != getEndOffset()) fragment.endOffset = p1; return fragment; }
39,255
public int getBreakWeight(int axis, float pos, float len) { int weight; if (axis == Y_AXIS) weight = super.getBreakWeight(axis, pos, len); else { // FIXME: Commented out because the Utilities.getBreakLocation method // is still buggy. The GoodBreakWeight is a reasonable workaround fo...
public int getBreakWeight(int axis, float pos, float len) { int weight; if (axis == Y_AXIS) weight = super.getBreakWeight(axis, pos, len); else { // FIXME: Commented out because the Utilities.getBreakLocation method // is still buggy. The GoodBreakWeight is a reasonable workaround fo...
39,256
public int getEndOffset() { int end = endOffset; if (end < 0) end = super.getEndOffset(); return end; }
public int getEndOffset() { int end = endOffset; if (end < 0) end = super.getEndOffset(); return end; }
39,258
public float getPartialSpan(int p0, int p1) { Element el = getElement(); Document doc = el.getDocument(); Segment seg = new Segment(); try { doc.getText(p0, p1 - p0, seg); } catch (BadLocationException ex) { AssertionError ae; ae = new AssertionError("BadLocationException ...
public float getPartialSpan(int p0, int p1) { Element el = getElement(); Document doc = el.getDocument(); Segment seg = new Segment(); try { doc.getText(p0, p1 - p0, seg); } catch (BadLocationException ex) { AssertionError ae; ae = new AssertionError("BadLocationException ...
39,259
public int getStartOffset() { int start = startOffset; if (start < 0) start = super.getStartOffset(); return start; }
public int getStartOffset() { int start = startOffset; if (start < 0) start = super.getStartOffset(); return start; }
39,260
public TabExpander getTabExpander() { TabExpander te = null; View parent = getParent(); if (parent instanceof TabExpander) te = (TabExpander) parent; return te; }
public TabExpander getTabExpander() { TabExpander te = null; View parent = getParent(); if (parent instanceof TabExpander) te = (TabExpander) parent; return te; }
39,261
public float getTabbedSpan(float x, TabExpander te) { Element el = getElement(); return getGlyphPainter().getSpan(this, el.getStartOffset(), el.getEndOffset(), te, x); }
public float getTabbedSpan(float x, TabExpander te) { Element el = getElement(); return getGlyphPainter().getSpan(this, el.getStartOffset(), el.getEndOffset(), te, x); }
39,262
public Segment getText(int p0, int p1) { Segment txt = new Segment(); try { getDocument().getText(p0, p1 - p0, txt); } catch (BadLocationException ex) { AssertionError ae; ae = new AssertionError("BadLocationException should not be " + "thrown her...
public Segment getText(int p0, int p1) { try { getDocument().getText(p0, p1 - p0, txt); } catch (BadLocationException ex) { AssertionError ae; ae = new AssertionError("BadLocationException should not be " + "thrown here. p0 = " + p0 + ", p1 = " + ...
39,263
public Segment getText(int p0, int p1) { Segment txt = new Segment(); try { getDocument().getText(p0, p1 - p0, txt); } catch (BadLocationException ex) { AssertionError ae; ae = new AssertionError("BadLocationException should not be " + "thrown her...
public Segment getText(int p0, int p1) { Segment txt = new Segment(); try { getDocument().getText(p0, p1 - p0, cached); } catch (BadLocationException ex) { AssertionError ae; ae = new AssertionError("BadLocationException should not be " + "thrown ...
39,264
public Segment getText(int p0, int p1) { Segment txt = new Segment(); try { getDocument().getText(p0, p1 - p0, txt); } catch (BadLocationException ex) { AssertionError ae; ae = new AssertionError("BadLocationException should not be " + "thrown her...
public Segment getText(int p0, int p1) { Segment txt = new Segment(); try { getDocument().getText(p0, p1 - p0, txt); } catch (BadLocationException ex) { AssertionError ae; ae = new AssertionError("BadLocationException should not be " + "thrown her...
39,265
public void insertUpdate(DocumentEvent e, Shape a, ViewFactory vf) { preferenceChanged(this, true, false); }
public void insertUpdate(DocumentEvent e, Shape a, ViewFactory vf) { preferenceChanged(null, true, false); }
39,266
public void paint(Graphics g, Shape a) { checkPainter(); int p0 = getStartOffset(); int p1 = getEndOffset(); Container c = getContainer(); // Paint layered highlights if there are any. if (c instanceof JTextComponent) { JTextComponent tc = (JTextComponent) c; Highlighter h = tc.g...
Color fg = getForeground(); JTextComponent tc = null; Color fg = getForeground(); JTextComponent tc = null; public Color fg = getForeground(); JTextComponent tc = null; void Color fg = getForeground(); JTextComponent tc = null; paint(Graphics Color fg = getForeground(); JTextComponent tc = null; g, Color fg = getFore...
39,267
public void paint(Graphics g, Shape a) { checkPainter(); int p0 = getStartOffset(); int p1 = getEndOffset(); Container c = getContainer(); // Paint layered highlights if there are any. if (c instanceof JTextComponent) { JTextComponent tc = (JTextComponent) c; Highlighter h = tc.g...
public void paint(Graphics g, Shape a) { checkPainter(); int p0 = getStartOffset(); int p1 = getEndOffset(); Container c = getContainer(); // Paint layered highlights if there are any. if (c instanceof JTextComponent) { tc = (JTextComponent) c; if (! tc.isEnabled()) fg = tc.getDisabledT...
39,268
public void paint(Graphics g, Shape a) { checkPainter(); int p0 = getStartOffset(); int p1 = getEndOffset(); Container c = getContainer(); // Paint layered highlights if there are any. if (c instanceof JTextComponent) { JTextComponent tc = (JTextComponent) c; Highlighter h = tc.g...
public void paint(Graphics g, Shape a) { checkPainter(); int p0 = getStartOffset(); int p1 = getEndOffset(); Container c = getContainer(); // Paint layered highlights if there are any. if (c instanceof JTextComponent) { JTextComponent tc = (JTextComponent) c; Highlighter h = tc.g...
39,269
public void removeUpdate(DocumentEvent e, Shape a, ViewFactory vf) { preferenceChanged(this, true, false); }
public void removeUpdate(DocumentEvent e, Shape a, ViewFactory vf) { preferenceChanged(null, true, false); }
39,270
public MainThread(String classname, String[] args) throws ClassNotFoundException, NoSuchMethodException { Class found = Class.forName(classname); Class[] argTypes = new Class[1]; argTypes[0] = args.getClass(); mainMethod = found.getMethod("main", argTypes); this.args = args; }
public MainThread(String classname, String[] args) throws ClassNotFoundException, NoSuchMethodException { Class found = Class.forName(classname); Class[] argTypes = new Class[1]; argTypes[0] = args.getClass(); mainMethod = found.getMethod("main", argTypes); this.args = args; }
39,271
protected Object[] getButtons() { if (optionPane.getOptions() != null) return optionPane.getOptions(); switch (optionPane.getOptionType()) { case JOptionPane.YES_NO_OPTION: return new Object[] { YES_STRING, NO_STRING }; case JOptionPane.YES_NO_CANCEL_OPTION: return new Object[] { YES_STRING...
protected Object[] getButtons() { if (optionPane.getOptions() != null) return optionPane.getOptions(); switch (optionPane.getOptionType()) { case JOptionPane.YES_NO_OPTION: return new Object[] { YES_STRING, NO_STRING }; case JOptionPane.YES_NO_CANCEL_OPTION: return new Object[] { YES_STRING...
39,272
JTree() { updateUI(); }
JTree() { updateUI(); }
39,273
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; }
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; }
39,274
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; }
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; }
39,275