Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Swing / AWT / SWT
Call object from specific tab
posted 10 years ago
I have a JTabbedPane that creates a new tab every time a button is pressed. It then populates the tab with an object containing a few buttons and a text area.
However I also have an 'Open' button that opens a text file and fills the text area with the file.
My problem is, only the newly created tab is addressed. How can I call methods on objects inside a specific tab?
I'm sure glad that he's gone. Now I can read this tiny ad in peace!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
Boost this thread!
How to share the same events for multiple components?
Contents displayed in second tab instead of First tab
can any one write this JSP program pls
JtabbedPane. How do i know on witch tab i am