Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2405 > unrolled thread

Chossing the right thing

Started by"Vedran" <vedran@THRWHITE.remove-dii-this>
First post2011-04-27 15:38 +0000
Last post2011-04-27 15:38 +0000
Articles 6 — 5 participants

Back to article view | Back to comp.lang.java.gui


Contents

  Chossing the right thing "Vedran" <vedran@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
    Re: Chossing the right th "ram" <ram@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
    Re: Chossing the right th "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
    Re: Chossing the right th "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
      Re: Chossing the right th "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
    Re: Chossing the right th a24900@googlemail.com.remove-dii-this - 2011-04-27 15:38 +0000

#2405 — Chossing the right thing

From"Vedran" <vedran@THRWHITE.remove-dii-this>
Date2011-04-27 15:38 +0000
SubjectChossing the right thing
Message-ID<fc3c58$snt$1@news2.carnet.hr>
  To: comp.lang.java.gui
	Hello!

I have created an application that does some heavy number cruching. For 
now it is a console application. I would like to make an applet with a 
GUI for the implemented application. Only thing that I can not determine 
is wheather to use AWT, Swing or SWT. Can I use anything other than AWT 
for applets?

Thanks in advance!

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [next] | [standalone]


#2407 — Re: Chossing the right th

From"ram" <ram@THRWHITE.remove-dii-this>
Date2011-04-27 15:38 +0000
SubjectRe: Chossing the right th
Message-ID<SwingApplet-20070910141516@ram.dialup.fu-berlin.de>
In reply to#2405
  To: comp.lang.java.gui
Vedran <ab@c.d> writes:
>is wheather to use AWT, Swing or SWT. Can I use anything other than AWT 
>for applets?

  See JDK-directory +jdk(...)/demo/jfc/SwingApplet2.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2408 — Re: Chossing the right th

From"Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Date2011-04-27 15:38 +0000
SubjectRe: Chossing the right th
Message-ID<d5gae35fg0f8iu37ormis08k16djaijgeg@4ax.com>
In reply to#2405
  To: comp.lang.java.gui
On Mon, 10 Sep 2007 14:09:12 +0200, Vedran <ab@c.d> wrote, quoted or
indirectly quoted someone who said :

> Only thing that I can not determine 
>is wheather to use AWT, Swing or SWT. Can I use anything other than AWT 
>for applets?

Your choice is AWT or Swing. With SWT you would have a huge delay
downloading the necessary support libraries.

AWT will run in even in ancient old hobbled IE browsers.  Other than
that, Swing is the way to fly.

See http://mindprod.com/jgloss/awt.html
http://mindprod.com/jgloss/swing.html

-- 
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2409 — Re: Chossing the right th

From"Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Date2011-04-27 15:38 +0000
SubjectRe: Chossing the right th
Message-ID<7802673a3fb76@uwe>
In reply to#2405
  To: comp.lang.java.gui
Vedran wrote:
..
>I have created an application that does some heavy number cruching. For 
>now it is a console application. I would like to make an applet ..

Why an applet?  If 'launch from link' is the idea, 
Java Webstart (JWS) is a better option.

Here are some examples.
<http://www.physci.org/jws/>

> ...with a 
>GUI for the implemented application. Only thing that I can not determine 
>is wheather to use AWT, Swing or SWT. Can I use anything other than AWT 
>for applets?

SWT would be a problem in applets, AFAIU.  There 
is the huge SWT library to either install, or download 
on the fly, before the applet could ever appear.
SWT should be quite easy to deploy for JWS launched
apps. or applets, possibly requiring signed code(?).
(I do not have any direct experience with SWT)

Swing would be the most usual option, these days,
and for plug-in versioning, JWS also ensures the 
Java version used is at least the minimum version 
required to run the app.

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

Message posted via http://www.javakb.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2414 — Re: Chossing the right th

From"Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Date2011-04-27 15:38 +0000
SubjectRe: Chossing the right th
Message-ID<dk3be3td93lao2b21ohr9keoeghrfp946i@4ax.com>
In reply to#2409
  To: comp.lang.java.gui
On Mon, 10 Sep 2007 13:12:30 GMT, "Andrew Thompson" <u32984@uwe>
wrote, quoted or indirectly quoted someone who said :

>Why an applet?  If 'launch from link' is the idea, 
>Java Webstart (JWS) is a better option.

Converting an app to Java Web Start is a piece of cake.  Converting to
an Applet imposes structure and restrictions, and also browser
incompatibilities.

See http://mindprod.com/jgloss/applet.html
http://mindprod.com/jgloss/javawebstart.html

The nice thing about Webstart, is if the browser screws up Java, you
can bypass it entirely.

Have a look at how they work.  See http://mindprod.com/applet.html
try out webstart SetClock and Applet FontShower
-- 
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2411 — Re: Chossing the right th

Froma24900@googlemail.com.remove-dii-this
Date2011-04-27 15:38 +0000
SubjectRe: Chossing the right th
Message-ID<1189436485.044764.85350@r29g2000hsg.googlegroups.com>
In reply to#2405
  To: comp.lang.java.gui
On Sep 10, 2:09 pm, Vedran <a...@c.d> wrote:
> I have created an application that does some heavy number cruching. For
> now it is a console application. I would like to make an applet

Consider making it a web start application instead. With an applet you
heavily depend on all the different browsers and their Java browser
plugin implementation. This is is a fight better avoided.

> Only thing that I can not determine
> is wheather to use AWT, Swing or SWT.

Swing. And since Swing builds on top of AWT you will use some AWT
classes here and there in any Swing application.

> Can I use anything other than AWT
> for applets?

That depends on what type of Java your user base has installed in its
browsers. Many Microsoft users still have a very old and officially
dead MS Java version installed in their browser, which is good for
nothing. But this is exactly the guessing you want to avoid. Write an
application using a recent (1.5, 1.6) Java version. There you know you
have Swing (actually, you have it since 1.2, not counting the previous
stand-alone version). Provide your application via web start and tell
your users which Java version they need as a minimum. Keep the applet
junk out of the equation.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web