• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

awt JPanel

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anybody tell me how to make different Jpanel to interact with each other eg. like pressing a button in one JPanel and the action occurs in another JPanel
If there is two or three instance of the application
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you want to control once instance of an app with another instance of the same app? Is this what you are asking.
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you will have to explain your problem a lot better than you have been

1.
August 7, to which you received a reply, but no follow-up to say it didn't
work or it wasn't what you wanted etc

2.
August 18, this thread, again a reply asking for more info/clarification,
only follow-up a month later as a new post.

3.
September 16, new post (follow-up to 2.) with a little extra info.

OK, working on this
> I want to control once instance of an app with another instance of the same app.

I have no idea what you are trying to do here, perhaps you can demonstrate
with this sample program.

compile it, then jar it, then double click the .jar file 3 times.

there will now be 3 small applications on your desktop, each with a
textfield and a button. lets say you enter "Hello World" into the left-most
app's textfield, then click the adjacent button.

What do you want to happen when the button is clicked
(note: the left most app. might not be the first app.)

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!