Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

how to create rich GUI in web application?

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

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

 
amit pandit
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please, move this topic on servlets Discussion thread
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tree controls, tabs and tables are all available with HTML/CSS/JavaScript. Have a look at some of the JavaScript libraries/tools like script.aculo.us and GWT; those implement advanced control elements.

The JavaScript FAQ here at JavaRanch links to a number of JavaScript libraries you might use.
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to be reallllly cutting edge there is JavaFX Sun's RIA competition for Flex and Silverlight.

Bill
 
Bartender
Posts: 9615
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
    Bookmark Topic Watch Topic
  • New Topic