Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java GUI - Rich UI options  RSS feed

 
Karan Jain
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

What are good options available for writing GUI in Java.
Writing GUI in java seems tedious, so is there a good framework we can use with cool widgets etc?
Its a trading application and would need lots of tables, dialogs, export to excel, Sorting kind of functionality.

Any pointers is appreciated.

Thanks,
Karan
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> Writing GUI in java seems tedious

here's a recent post showing an example of gui-builder-generated code

http://www.coderanch.com/t/565811/GUI/java/Newbie-just-trying-change-icon

it's jibberish, and you're gunna have lots of code? - well that's lots of jibberish

'Rich UI' and 'gui-builder' don't go together, 'Broke UI' and 'gui-builder' are a better match.
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1103
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tables, dialogs are available in Swing. Also, sorting on tables is supported.
Open-source libraries like SwingX provide lot more functionalities on top of the basic ones and also some cool widgets like task panes, treetable etc. You can view the demo here. Both SwingX and JCalendar provide 'Date/Calendar' widgets.

For frameworks, there is BSAF which is an improvement on the reference implementation of JSR 296.

For even bigger apps, if you need stuff like dockable windows etc., there is NetBeans RCP and Eclipse RCP.
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Haven't tried it or even taken a close look, but there's also JavaFX with FXML
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!