Client-Side Development Section Index | Page 8
Where can I find a complete example of using RMI in applets?
Sun provides one in their Getting Started with RMI guide.
How can I get a JavaScript menu to dropdown on top of an applet. The ones I have always go behind the applets I have loaded on my page.
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
Are the attributes in the APPLET HTML tag sensitive to the order they are listed?
The applet tags like ARCHIVE and CODE are not supposed to be sensitive to the order they are listed. However, some older versions of browsers required the ARCHIVE tag to be before the CODE tag for...more
Can I prevent someone from downloading my applet's class files and installing them on their own machine/server?
No. If a file is downloadable from the web, anyone can download it, this includes applet files.
How can I highlight a row in the html table using javascript?
Use style...
this.style.backgroundColor="red";
How can i make a combo box in HTML disabled like we can't drop down the list for selection but a value will be there by default selected?
The disabled attribute of the select tag does this. HOWEVER, it is IE specific.
How can I reduce the row height of an HTML table?
Use the CELLPADDING and CELLSPACING attributes of the table tag.
How do i access the underlying DOM Document for my HTML Page of my Browser?
DOMService service = null;
try
{
service = DOMService.getService(MyApplet);
String title = (String) service.invokeAndWait(new DOMAction()
{
...more
How do I set the text fields to automatically tab to the next text box?
<HTML>
<script>
function f1()
{
var num = txtArea.value;
if((num.length)==txtArea.maxLength)
txtPhone.focus();
}
</script>
<BODY>
<INPUT id=txtArea name...more
Where can i find a list of compatability issues between Microsoft's VM and Sun's Java 2 VM?
Microsoft VM and Java 2 Applet Compatibility Issues
Where is the Java Plugin Developers Guide for JDK1.4?
Java Plug-in 1.4 Developer Guide
Why is my servlet called twice from a JavaScript button?
Do you submit the form from the javascript? This can happen if you are calling the javascript function which does document.formName.submit() but the form itself also has an action attribute. There...more
Can I use CAB files with the Java Plug-in?
No. CAB file support is specific to the Microsoft runtime. If you want to bundle your class files together with the Java Plug-in, you should use JAR files instead.
How do I display a date in a format such as 4 august 1955 or 1 july 2002?
monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
now = new Date()
document.write(now.getDat...more
I have a class clientSocket that connect to the Server, sends some data and receives some data.
I have a class clientSocket that connect to the Server, sends some data and receives some data.
When I run this class from Applet within HTML page it's run fine under IE (4.0) NT env, but if i run...more