aspose file tools*
The moose likes Servlets and the fly likes how to create rich GUI in web application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to create rich GUI in web application?" Watch "how to create rich GUI in web application?" New topic

how to create rich GUI in web application?

amit pandit

Joined: Mar 01, 2007
Posts: 23

I am developing my first live web application.
I am familiar with html,applets,jsp,servlets etc., and already used all these in my current project.
My question is, can we create more user friendly desktop like GUI's for web application?.
Like I want to show tree,a tab control,a table with all user friendly functionalities etc.. on a web page.

Is it possible by using java api's (SWT,Swing etc..)? Already used applets...
Or any other alternative way?

Thnx in advance,


amit pandit

Joined: Mar 01, 2007
Posts: 23
Please, move this topic on servlets Discussion thread
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42289
Tree controls, tabs and tables are all available with HTML/CSS/JavaScript. Have a look at some of the JavaScript libraries/tools like and GWT; those implement advanced control elements.

The JavaScript FAQ here at JavaRanch links to a number of JavaScript libraries you might use.

Ping & DNS - my free Android networking tools app
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Basically you just need CSS to introduce rich UI look. For desktop-like experience (without "flash of content") Ajax is commonly used.

When you want to let Java do the work; most JSF component libraries offers rich and configureable UI with ajaxical powers, such as RichFaces and IceFaces. See the demos at their homepages.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12806
If you want to be reallllly cutting edge there is JavaFX Sun's RIA competition for Flex and Silverlight.

Joe Ess

Joined: Oct 29, 2001
Posts: 8927

I took a brief look at Google Web Toolkit. It's pretty slick. You write your GUI in Java using their components and the framework turns it into JavaScript that can run in the browser (AKA AJAX).

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: how to create rich GUI in web application?