Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what is the best way to show a matrix in swing?  RSS feed

 
ben oshran
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i try to do a jtextfield to each number?
there is a nicer way?
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ben oshran wrote:i try to do a jtextfield to each number?
there is a nicer way?

The class is JTextField, not jtextfield. Please use correct capitalization for the first word in a sentence, proper nouns, the first person singular I, and Java class and member names.

Were you looking for JTable?
 
ben oshran
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, but it give me a title and i don't wont that the coloumn will be with naming...
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can display the JTable without displaying its header.

And yet once more, please use proper capitalization.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!