Client-Side Development Section Index
Find out what features JavaFX 2.0 added to the capabilities of version 1.x.
I want to close the child window, from parent window using java script. I want to close the child window, from parent window using java script. How to do that? Can any one help me on this? Thank...more
Open new window every time Hi, I am trying this example below : On click of the link it creates one window, if i click it again, i do not get a new window( another window) but rather the same wind...more
If I want to manually size my icon for the system tray, how do I find out the correct size for the platform?
The getTrayIconSize() method of SystemTray will return the appropriate Dimension for the icon. This allows you to either pick the most appropriate size from available icons or generate an icon of ...more
The displayMessage() method of TrayIcon allows you to show a timed message, if supported on the platform.
The TrayIcon class offers a setToolTip() method to provide a string for the message.
JOAL is the Java API wrapper for OpenAL, the open audio library, a cross-platform library for 3D or 2D sound. For more information, visit https://joal.dev.java.net/.more
JOGL is the Java Binding for the OpenGL API, formed from JSR-231 (http://jcp.org/en/jsr/detail?id=231). The project homepage is https://jogl.dev.java.net/.more
Read a file in script!! HOw can we Read a file using Java Script.. My requirement is i have to read a file in java script.. Can anyone tell me how to do that..
ActiveX can be used. However, be aware that an increasing number of people are not using internet explorer on windows (either due to alternate browser or due to alternate operating system) so Acti...more
You should use the navigator object to get info about the OS below in red are the properties of navigator object and the near cells are the values on my machine. use the properties as object.pr...more
You should think of an applet is a self containing page in a page. Because of this, the applets behave like they are different objects in html pages. This is the same for flash movies as well. Try...more
The basic idea is to print the GUI to an offscreen image, then encode that image as a JPEG. import sun.awt.image.codec.JPEGImageEncoderImpl; import java.io.ByteArrayOutputStream; import java.aw...more
Here's a simple example of monitoring file read progress import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.FileInputStream; impo...more
37(left arrow) 38(up arrow) 39(right arrow) 40(down arrow)
How can we hide the html source code when the user tries to view the source code from the browser's "view source" file menu option?
[Short answer: no, it's not possible, since the source code *is* the response. If the user wants to see your source, he can. However, here's a clever hack... -A] Yes it's possible, I've done it...more