Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating a table with varying cellspacing  RSS feed

 
Syahir Jai
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. My projecct requires me to create a table with varying widths for each cell(drawing of a gaant chart). Is it even possible? If yes, how can i go about doing it?
 
Pierre Sugar
Ranch Hand
Posts: 62
Java Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Java2D to do graphics. You have to create your chart model and than draw the bars in a panel with Graphics2D. There is quite good tutorial at the Java Tutorial site. You could also look at SwingX, they have extensions for Swing also charts.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!