Client-Side Development Section Index | Page 6
How do I clear the selection in a ButtonGroup such that no elements of the associated set of abstract buttons are selected?
Early versions required a hack with a hidden button. In Java 6, you can use the new clearSelection() method.
this doesnt seem to work for that
The importData() method of your TransferHandler has a TransferSupport argument. From this support object, you can ask for the drop location with getDropLocation(). This returns an implementation o...more
When having a droppable JTree, how do I change the default behavior of using selection to see the active drop target?
JTree has a setDropMode() method to change the default setting of USE_SELECTION. Other valid modes are ON, INSERT, and ON_OR_INSERT. ON lets you drop something onto another node. INSERT is for bet...more
Hi Pradeep AJAX is "Asynchronous Java Script and XML".Mainly used if we need to refresh a part of a HTML page but not the total page.For example take an example of Country/State.I have a Country l...more
You need to explicitly pass in the button labels and initial value via the showOptionDialog() method (or constructor). int selection = JOptionPane.showOptionDialog(CreditDefaultLegPanel.this, ...more
Class AccessibleRole Added the following constants: DATE_EDITOR FONT_CHOOSER GROUP_BOX SPIN_BOX STATUS_BAR
The javax.accessibility.screen_magnifier_present property is available. When true, the magnifier is present, and your application can be altered accordingly.
The 1.4 API increased the accessibility API by adding the following: javax.accessibility.AccessibleEditableText javax.accessibility.AccessibleExtendedComponent javax.accessibility.AccessibleExt...more
How do I have the Java console automatically show up when the runtime for the Java Plug-in starts up?
This is controlled by an option in the Control Panel. Find the Advanced tab of the Java feature under the Control Panel. Select "Show console" and it will startup automatically.
Select Java in the Control Panel. Select the Advanced Tab. Find the Miscellaneous option at the bottom. Make sure the "Place Java icon in system tray" option is selected.