• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable in JavaFX

 
Masrudyn Main
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to build a simple GUI to handle CSV files. I believe JTable can do the job but I would like to try using JavaFX... so is there a similar JTable in JavaFX? Any sample codes to get me started? Thanks!
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Masrudyn Main wrote:Hi,

I want to build a simple GUI to handle CSV files. I believe JTable can do the job but I would like to try using JavaFX... so is there a similar JTable in JavaFX? Any sample codes to get me started? Thanks!


Nope. The brilliant minds behind JavaFX didn't see the need for one of the most common controls in the RIA space, a Data Grid. You're stuck with using a JTable and shoving into the JavaFX scene. There's plenty of examples, even on the JavaFX site, that shows how to use Swing components in JavaFX.
 
Jim Clarke
author
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not a matter of not wanting to do it. It was a matter of time. Look for it in a future release.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jim Clarke wrote:It's not a matter of not wanting to do it. It was a matter of time. Look for it in a future release.


Seems to be an all too common theme.
 
Sergey Surikov
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jim Clarke wrote:It's not a matter of not wanting to do it. It was a matter of time. Look for it in a future release.


You can use CRUDfx SDK now.
http://code.google.com/p/crudfx/

it includes:
1. Layouts
2. Grid
3. Tree
4. Text/Password components
5. Localization tools
6. User preferences util
7. Tools for asynchronous task
8. Bridge to Web Services (XML, JSON)
9. Bridge to SQL Servers (JDBC)
10. Google Map component
11. Sound synthesizer
12. Other tools

See screenshot with table

 
William Antônio Siqueira
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Coming Soon: Table Control in JavaFX:


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic