• 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

Class reference

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do you call/refrence a class from inside another?
Say on the click of a botton you want to pop-up a JDialog, the JDialog should in turn call a window form. :roll:
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Inoma,

Welcome to JavaRanch! We don't have too many rules around here but we do have a Naming Policy. Speficially you need to have a first and last name (look at mine for an example). Please adjust your name accordingly.

Thanks.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Innocent Agidani:
How do you call/refrence a class from inside another?
Say on the click of a botton you want to pop-up a JDialog, the JDialog should in turn call a window form. :roll:



So assuming you have something like this:



And then you might have something like this:



Is that what you are after? If not, can you be a bit more specific to your problem?
 
reply
    Bookmark Topic Watch Topic
  • New Topic