Java
--
Questions
--
Followers
Top Experts
I'm using IE ..
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
In the Control Panel Java 'applet' >>Â advanced tab >>Â "<applet> tag support">>Internet Explorer check box is already checked ..
Is that what you mean??
>>>>>>>
World Time
Status of this Document
This page is no longer maintained. It is left in place for historical reasons.
Time on the Internet
Time is a funny concept and it turns out to be very difficult to maintain on the Internet.
Specs and Notes ... etc
>>>>>>>

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
I got this Message (Exception):
Your browser is not configured to show Java 1.1 applets. This would show a clock with the time in central European timezone.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
thanx for your time ..
check the console for errors (applet viewer and broweser are quite different containers).
Could be that u are doing something that is not permitter in a browser (such as accessing a file on disk)






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
package mypackage;
import java.awt.Graphics;
import javax.swing.JApplet;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.BorderLayout;
import javax.swing.JFrame;
import javax.swing.UIManager;
public class Applet1 extends JApplet
{
 public Applet1()
 {
 }
 public void init()
 {
  try
  {
   jbInit();
  Â
  Â
  }
  catch(Exception e)
  {
   e.printStackTrace();
  }
 }
 private void jbInit() throws Exception
 {
  this.getContentPane().setL
 }
 static Â
 {
  try
  {
   UIManager.setLookAndFeel(U
   UIManager.setLookAndFeel(U
  }
  catch(Exception e)
  {
  }
 }
Â
 public void paint( Graphics g) {
   /** show the results */
   g.drawRect( 15, 20, 200, 105 ) ;
   g.drawString( "Hello Ahmad", 25, 45 ) ;
   // g.drawString( "My name is TAW ", 25, 75 ) ;
  }
}
and set the l&f in init instead of a static block
(why are you setting it twice?)
So I will use FireFox ..
>>(why are you setting it twice?)
I didn't notice that :o)
thanx for your time,
regards,

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
That's not the reason for your error
Yea I know :o)
Actually, I didn't reinstall jre properly in the first time, but when I reinstall it *again* the problem gone, and now every thing works as expected ;o) I think the previous JRE was corrupted ..
thanx for both of you ..
I really appreciate your help,
regards,Ahmad;
Â
noone said it was.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Java
--
Questions
--
Followers
Top Experts
Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.