Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

Which VM to install for Swing in IE

Thread view: 
phuile - 17 Jul 2007 07:46 GMT
I'm developing an applet using Swing components in JBuilder 2006 on a
WinXP machine. I want to test the applet in IE7 on the development
machine. What plug-in or runtime do I need to install to give IE the
capability?

I'm being careful because I don't want to end up with conflicting
runtimes or classpaths messing up my JBuilder environment.

Thanks.
phuile - 18 Jul 2007 02:38 GMT
Sorry about the double posts, as I reposted as I didn't see the
message come up "momentarily" as the notice said when I post.

I'd still like to know which VM to install for Swing in IE (as
explained in the previous 2 posts). Can someone help?

Thanks.
Andrew Thompson - 18 Jul 2007 03:16 GMT
>I'm developing an applet using Swing components in JBuilder 2006

Note that we should not have to care what IDE you
are using.  That is irrelevant.  What is relevant are
the compile time options used to build the project.

That is relatively easy to do (compile with options), in a
'cross-IDE' way, by using an Ant build script.

>..on a WinXP machine.

What does this interface do?  Can it work in a
sandboxed environment?

>..I want to test the applet in IE7 on the development
>machine. What plug-in or runtime do I need to install to give IE the
>capability?

What does 'IE' have to do with it?  Do you want this
applet to work -
- On one single machine running IE?
- On a small group of machines all running IE?
- On the internet, in browsers?

In any case, if you did not use any cross-compilation
options, the only guarantee is that the code will run
on JRE's with a version number equal to (or presumably
greater than) the SDK version that built it to bytecodes.

Cross-compilation options (along with a suitable rt.jar
for the bootclaspath) might be able to compile the code
compatible as far back as 1.2 - it depends on what Swing
members (components, methods, attributes) are utilised
in the GUI Design.

Note that once the minimum Java version is dsicovered,
it is far easier to enforce that minimum version using a
web start launch.  Examples..
<http://www.physci.org/jws/>

>I'm being careful because I don't want to end up with conflicting
>runtimes or classpaths messing up my JBuilder environment.

Ptui!  Use Ant and stop worrying about
your precious IDE.

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Daniel Pitts - 18 Jul 2007 18:42 GMT
> I'm developing an applet using Swing components in JBuilder 2006 on a
> WinXP machine. I want to test the applet in IE7 on the development
[quoted text clipped - 5 lines]
>
> Thanks.

Depending on your end-users, its often best to install the latest
stable version of the JDK for development, and the latest stable JRE
for usage.  I believe today that is Java 1.6.  Although, Java 1.5
should be safe enough.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.