dimanche 1 mars 2015

How can I use the methods from a jframe in a jdialog?


Vote count:

0




I'm programming a project(For school)which has a lot of creating windows.So I have here my POSHome(As my main window/class) that extends to JFrame,and POSResult that extends to JDialog,I used jdialog for modal.My problem is how can I inherit the methods from POSHome to POSResult without removing the inheritance of JFrame and JDialog?


Sorry,I'm still learning and I find 'class inheritance' a bit tricky. Any help is appreciated, thank you.BTW I'm using Netbeans.



asked 38 secs ago







How can I use the methods from a jframe in a jdialog?

Aucun commentaire:

Enregistrer un commentaire