Client-Side Development Section Index | Page 3
what is the difference between JavaScript & AJAX? For what purpose AJAX is used ? what is the abbrevation for AJAX?
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
When creating a Yes/No JOptionPane, how do I default the value to No instead of Yes?
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
Javascript function registration We register 2 functions against the same event of a component - but in different ways.
Javascript function registration
We register 2 functions against the same event of a component - but in different ways.
One is through inline event handlers and the other through attachevent/addeve...more
javascript not working properly in Mozilla v1.0 but same code is working fine in IE v6.0
javascript not working properly in Mozilla v1.0 but same code is working fine in IE v6.0
:ERROR-----headTable.style has no properties in Firefox
CODE:
::::::::::::::call of js in JSP::::::::::::::...more
How can I find out if my application is being used with a screen magnifier?
The javax.accessibility.screen_magnifier_present property is available. When true, the magnifier is present, and your application can be altered accordingly.
What accessible roles were added to the 1.4 J2SE accessibility API?
Class AccessibleRole Added the following constants:
DATE_EDITOR
FONT_CHOOSER
GROUP_BOX
SPIN_BOX
STATUS_BAR
Which accessible interfaces were added for J2SE 1.4?
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.
I've hidden the Java Console from the system tray in Windows. How do I get it back?
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.
What is the purpose of AccessibleExtendedComponent?
The original accessible API set missed some features in the AccessibleComponent interface. Since the main interface couldn't be altered, Sun introduced a secondary interface AccessibleExtendedComp...more
What screen readers are available for Swing-based programs?
While the Java Access Bridge (http://java.sun.com/products/accessbridge/) exposes the Swing components to the platform, it seems not all screen readers understand this bridge. You can't just use a...more
How do I explicitly set the Toolkit for my program?
Either by setting the AWT_TOOLKIT environment variable or the awt.toolkit system property.
The AWT_TOOLKIT environment variable can be set to XToolkit or MToolkit depending upon which of the Unix...more
What this I hear about a new Toolkit for Linux machines in Java 5.0?
J2SE 5.0 reimplemented the AWT Toolkit to remove the Motif and Xt dependency and improve performance. Solaris still keeps the Motif default but Linux machines uses the newer XToolkit as its default.more
Does Java work with Windows Vista?
Chet Haase at Sun claims "Java on Vista: Yes, it Works" at http://weblogs.java.net/blog/chet/archive/2006/10/java_on_vista_y.html. There is more said there than can be written here.more
What's up with applet permissions on Windows Vista?
According to the release notes:
On Windows Vista, there is a more restrictive sandbox for signed applets. A user has fewer privileges than if they were running on another Windows OS.
On a Wind...more