hi,
how can i change the defult java applet window size??
java applet window size??
Started by stack, Jul 20 2007 10:14 AM
5 replies to this topic
#1
Posted 20 July 2007 - 10:14 AM
|
|
|
#2
Posted 21 July 2007 - 03:39 AM
how can i change the size of java Applet window please??
because i want to insert images of different sizes on it.
because i want to insert images of different sizes on it.
#3
Posted 21 July 2007 - 03:59 AM
Throw some width and height on your applet-tag?
<applet width="..." height="..." ...> ... </applet>
#4
Posted 21 July 2007 - 07:05 AM
You can also edit the class file and use the setSize method on the Applet.
#5
Posted 21 July 2007 - 10:52 AM
Thank you,,
i have another question please,,
how can i change the java applet window color? i don't want it to be gray i want to set it to another color,,if i use setBackground method the window remain gray??
i have another question please,,
how can i change the java applet window color? i don't want it to be gray i want to set it to another color,,if i use setBackground method the window remain gray??
#6
Posted 24 July 2007 - 06:00 AM
Try these tutorials.
They will teach you the basics of how to do things with java applets.
Java Applet Tutorial - Home
Java Applet Tutorial
Lesson: Applets (The Java™ Tutorials > Deployment)
They will teach you the basics of how to do things with java applets.
Java Applet Tutorial - Home
Java Applet Tutorial
Lesson: Applets (The Java™ Tutorials > Deployment)


Sign In
Create Account


Back to top









