Can one use images as buttons with AWT in Internet Explorer?

T

Tom Helmond

For a friedn who needs help:

He is writing an Applet for Internet Explorer using the
Microsoft AWT library. All he is getting so far are
grey buttons. He claims that the AWT library is so old
and so weak that nothing else is possible.

Is this true? He would like to make buttons with images
instead of the grey boxes. Where can he look up the way
to do this?

(He uses AWT because it seems to be the only library
that is available for Internet Explorer)

Thank you in advance for any help.

Tom Helmond
 
M

Michael Borgwardt

Tom said:
He is writing an Applet for Internet Explorer using the
Microsoft AWT library. All he is getting so far are
grey buttons. He claims that the AWT library is so old
and so weak that nothing else is possible.

You can easily have colored buttons.
Is this true? He would like to make buttons with images
instead of the grey boxes. Where can he look up the way
to do this?

http://www.google.de/search?q=button+image+awt
gives a number of websites that seem useful in that regard.

(He uses AWT because it seems to be the only library
that is available for Internet Explorer)

Nonsense. It has nothing to do with IE as such, but using
Swing requires either that the user downloads the entire
Swing library (rather big) or has a JRE of version 1.2 or
newer installed. And Windows generally only has version 1.1
preinstalled.
 
T

Tim Tyler

Tom Helmond said:
For a friedn who needs help:

He is writing an Applet for Internet Explorer using the
Microsoft AWT library. All he is getting so far are
grey buttons. He claims that the AWT library is so old
and so weak that nothing else is possible.

Is this true? He would like to make buttons with images
instead of the grey boxes. Where can he look up the way
to do this?

Like:

http://www.apl.jhu.edu/~hall/CWP-Sources/CWP-Examples/Chapter13/ImageLabel/ImageButtons.html

....?

More of the same at:

http://google.com/search?q=Java+imagebutton
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top