This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General 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
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

JTable in JavaFX

 
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!
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • 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.
 
author
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
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • 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.
 
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

 
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
Boost this thread!