• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using JTextFields in JTabbedPane

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic