This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTextArea with varied lengths

 
Tariq Ahsan
Ranch Hand
Posts: 116
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to create an data input form using JTabbedPane, JPanel and GridBagLayout, JLabel, JTextArea etc. I like to have multiple data input entries in the same rows with multiple rows on the panel. e.g. First row would have just the user id entry box. The second row with First Name, Middle Initial and Last Name and so on. The Problem I am having is the JTextArea of each of these to have the same length. For example I would like to have the JTextArea for the First Name and Last Name to have a length of 30 characters. But have the Middle Initial to have a length of 1.
Is there a way I can control these JTextArea to have varied lengths. Code snippets for what I am looking for would be much helpful.
 
Craig Wood
Ranch Hand
Posts: 1535
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic