Applet Changes in 1.5_03 SDK?
- From: "Jammin Jay" <jason.senf@xxxxxxxx>
- Date: Mon, 30 May 2005 15:12:18 -0400
|
Hello Everyone,
I recently installed NetBeans 4.1 and the latest JDK (build
1.5.0_03-b07).
I have been working out of a text book from SNHU programming an applet that
is a calculator. My problem is when the applet executes, both in the
browser and applet viewer, the paint method goes into a viscous loop that never
ends..
Has something changed with this latest JVM? Am I missing
something?
The code :
public void paint(Graphics g)
{
resize(row1.getWidth(), 8*d1.getHeight()); validate(); } row1 is a Panel and d1 is a Button object.
I have attached the complete code for the interface to this post. Any
help would be greatly appreciated.
Jason
|
Attachment:
CalculatorApplet.java
Description: Binary data
- Follow-Ups:
- Re: Applet Changes in 1.5_03 SDK?
- From: Noem
- Re: Applet Changes in 1.5_03 SDK?
- Prev by Date: Re: Clear Screen command
- Next by Date: Re: Questions about Java Executables.
- Previous by thread: Getting index from a select object?
- Next by thread: Re: Applet Changes in 1.5_03 SDK?
- Index(es):