English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

can anyone give me a code or a website link that contains an explanantion to display an image on gui.

thank you.
best answer would be choosen

2006-10-11 00:26:23 · 4 answers · asked by coolent 1 in Computers & Internet Programming & Design

i need to use a graphical user interface to do this(not web based interface)

2006-10-11 00:41:30 · update #1

4 answers

Ha,
Thats very simple.

If you are going to draw an image as a Frame's background,

override paintComponent(Graphics g) of JFrame.

inside that paintComponent method, call

g.drawImage(image, frameWidth, frameHeight, this);

This will draw an image as the background of the JFrame.

If you want more details, put that here.

2006-10-14 01:49:31 · answer #1 · answered by Pandian 3 · 0 0

http://www.pageresource.com/jscript/index4.htm
JavaScript Tutorials: Complete List
http://www.dynamicdrive.com/
Dynamic Drive DHTML(dynamic html) & JavaScript code library
http://www.javascriptkit.com/
JavaScript Kit- Comprehensive JavaScript, DHTML, CSS tutorials and over 400+ free JavaScripts!

these sites have some of the best scripts around!!!

2006-10-11 00:38:37 · answer #2 · answered by nick 5 · 0 0

Try this link

2006-10-11 01:15:58 · answer #3 · answered by AnalProgrammer 7 · 1 0

http://java.sun.com/docs/books/tutorial/
http://www.w3schools.com/js/default.asp

2006-10-11 00:29:14 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers