I have 2 frames (classes exactly) customer & items...
when a button clicked (button 'BUY') on customer frame it navigates to items frame.
mean time i made customer frame customer.setEnabled(false) .
i called to item frame by simply creating an object of item class.
then , when i coming back to customer frame from item frame.. (i can't simply create an object, i am recalling the disabled frame..) so i have to make customer.setEnabled(true)
how can i do it.....?
i simply called customer.setEnabled(true) with in the item class.
it doesn't work.