Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #3664
| From | Andrew Thompson <andrewthommo@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: should I use java.awt.* only or also use javax.swing in applets? |
| Date | 2011-05-06 03:25 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <64bff818-0318-42ca-bf73-3ab553f824e0@l14g2000pro.googlegroups.com> (permalink) |
| References | <ba0c3c4d-cf9e-4b1b-82a8-30b84405b915@17g2000prr.googlegroups.com> |
On May 5, 7:34 am, steveh44 <steve_...@yahoo.com> wrote: > ..When I looked at some applets, most seem to be based on Applet, not > JApplet. Most applet examples were written in the 1990s when the MSVM plagued browsers. We have come up with an MSVMicide in the mean time. > Basically I am asking, if I want to make sure my applet run best and > on most browser, should I just stick to awt and not include any swing > stuff? No. Applets (by which I mean both java.awt.Applet & javax.swing.JApplet) will always experience little quirks when appearing in this or that micro-version of 'name your favorite UA here'. If you program the code as a JApplet, you are likely to get lots of help when something goes wrong. If you ask about an Applet, people will either ignore the post (mostly because they've forgotten how AWT components work) or advise you to update to a JApplet. >..I know if I extend JApplet I can still use awt classes and > methods if I want to. Be very wary of mixing Swing & AWT. Java 7 promises to provide effortless mixing of Swing & AWT. Otherwise expect problems with any floating Swing GUI element that overlaps an AWT component (e.g. menus, combo boxes, tool tips etc.). ---------------------------------------------------------- BTW - G'day to all the regulars! It seems like an eon since I last delved into usenet. -- Andrew Thompson http://pscode.org/
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
should I use java.awt.* only or also use javax.swing in applets? steveh44 <steve_h44@yahoo.com> - 2011-05-04 14:34 -0700
Re: should I use java.awt.* only or also use javax.swing in applets? Knute Johnson <nospam@knutejohnson.com> - 2011-05-04 16:07 -0700
Re: should I use java.awt.* only or also use javax.swing in applets? "John B. Matthews" <nospam@nospam.invalid> - 2011-05-05 12:16 -0400
Re: should I use java.awt.* only or also use javax.swing in applets? markspace <-@.> - 2011-05-05 10:35 -0700
Re: should I use java.awt.* only or also use javax.swing in applets? "John B. Matthews" <nospam@nospam.invalid> - 2011-05-05 17:20 -0400
O/T: Awesome vocabulary (Was: should I use java.awt.* only or also use javax.swing in applets?) Lew <noone@lewscanon.com> - 2011-05-05 17:28 -0400
Re: O/T: Awesome vocabulary (Was: should I use java.awt.* only or also use javax.swing in applets?) Tom Anderson <twic@urchin.earth.li> - 2011-05-05 23:31 +0100
Re: O/T: Awesome vocabulary (Was: should I use java.awt.* only or also use javax.swing in applets?) Jim Janney <jjanney@shell.xmission.com> - 2011-05-05 17:02 -0600
Re: should I use java.awt.* only or also use javax.swing in applets? markspace <-@.> - 2011-05-05 20:05 -0700
Re: should I use java.awt.* only or also use javax.swing in applets? Lew <noone@lewscanon.com> - 2011-05-04 19:10 -0400
Re: should I use java.awt.* only or also use javax.swing in applets? Roedy Green <see_website@mindprod.com.invalid> - 2011-05-05 16:47 -0700
Re: should I use java.awt.* only or also use javax.swing in applets? Andrew Thompson <andrewthommo@gmail.com> - 2011-05-06 03:25 -0700
Re: should I use java.awt.* only or also use javax.swing in applets? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-05-06 19:06 +0200
csiph-web