File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using JTextFields in JTabbedPane

 
Rudy Rodriguez
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I created a JTabbedPane GUI application that contains textfields.

I am trying to display data from a Arraylist in the JTextFields.

Can anyone provide some insight into displaying data into JTextFields, in JTabbedPane's ???

Thanks

 
Matthew Cox
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Word of advice; something I learned as well from the forum community.
Try as best you can to reduce the code down to the smallest ammount possible. It is painful to read through code written by another person without good comments. So the alternative is to post code snippets that are in the identified region where your problem specifically is.

The added benefit is twofold:

1. You will get better and quicker posts.

2. In breaking down the code into a problem segment, you may well discover the answer to your own question by the time it's ready for posting.


So, conclusion:

Show me the snippet where are data is being placed into the JTextFields and I can better assist you.
 
Rudy Rodriguez
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Matthew

I figured out what I am doing wrong...

I should add the data into the JTextfields during the creation of the JTab's, instead of the update method...

Thanks for your advice...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic