PDA

Click to See Complete Forum and Search --> : closing windows and calling default constructors


jframe
Jul 23rd, 2003, 02:14 PM
here is the plan:
a window opens, u can choose an option, a new window opens, u can write stuff in this window(this window as two buttons to save and cancel), if save is clicked then the data is saved if it has to be canceled it should return to the previous window(or simply the close the window where we can type data without saving)

it some thinking like this:
class C's methods has to access the default const of class A,
class c cannot inherit it is already inhering one.
i tried to make an object of class A but it simply doesnt work...the program gets wiered..
i just want to close the window
using JFRAME, container C,
actually class C is extends JFrame.
thanks for all the help

Dillinger4
Jul 23rd, 2003, 02:22 PM
Post the code in and i will get it to work.

jframe
Jul 23rd, 2003, 02:28 PM
Originally posted by Dilenger4
Post the code in and i will get it to work.
i PMed it to you