• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to decide which graphic technology to use

 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all
i need to decide which GUI technology to use in my application
this needs to be some kind of desktop application that support drag and drop and tree's
but its have to be thin and as all knows the standard java swt is heavy .
what considerations i need to take in account when chose GUI technology ?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are various definitions of "thin" and "fat" - which is the one you're using, and why is that a requirement? Wherever Java runs, both AWT and Swing are available, so from that point of view, none is "fatter" than the other.

As an aside, AWT doesn't support drag-and-drop, which leaves just Swing (if we disregard SWT for the moment, which you characterized as "fat" anyway).
 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fat for me is big installation on the client side
heavy actions feeling when using it .
there is also SWT from eclipse what do you think about it?
the risk here that its new technology , and the further is unclear with it.
mybe some kind of web GUI can be good .
dont know
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SWT requires more stuff to be installed than either AWT or Swing, so in that sense it's even "fatter".
 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so what you actually saying that swing it the only choice i have to build
desktop application , what about JFC ? is it better .
another thing is how can i decide what is the best GUI for my application ?
i have no experience and i need help to decide
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JFC is an obsolete name for Swing (and a few other things, that have long since been integrated into J2SE).

You won't be able to decide until you have gotten to know them better. AWT, Swing, SWT and any of the other GUI frameworks available may all be suitable choices; it all depends on your requirements.

Swing is good general-purpose choice - it's built into the JRE (so there are no additional libraries to worry about), and you'll find lots of books, examples and other documentation about it. It's lightweight in the sense that it doesn't create native peers (like AWT does), although I've never seen the big benefit of that. It does offer lots more functionality than AWT, though.
 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah this is was i was thinking to my self , now how about to build application that will build based on applet ( does applet can use swing )?
or other web GUI ? , can web GUI be like desktop GUI ?
the idea of people using there browser just connect to the internet and connection to the server application
is very tempting , the question if it can be like desktop application , or it still very limited
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you need to do a LOT of research before you're ready to make this kind of decision. If you're not sure what the differences in functionality are between a desktop app and a web app. then you're not at a point where you can meaningfully discuss fat vs. thin clients, or AWT vs. Swing vs. SWT. Sorry if this sounds harsh, but that's how it is.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!