I have a problem that I have been strugling with for the last few days and just cant sort it out. I have a program that has a main window when if a user clicks on a buton on that window a JDialog box should come up where a user can enter a date. Whenever I try to click on that button the outline of the JDialog comes up on screen with the window title and window buttons but there is nothing inside it. I have tryed just displaying the JDialog its self and everything comes up ok. I just cant get it to work when I click the button on the other window. I dont know what code is causing it so I have included the constructor for the JDialog.
Shouldn't you also post the main program that invokes CalendarGUI, since that is what is likely causing the issue? If I understood you correctly, the CalendarGUI works and displays correctly when tested separately?
Thanks for the quick reply. Using getSource and equals came from couse text supplyed by my university so I thought it was OK, got a lot to learn. Thanks for the links.
I can't renounce my name. It's on all my stationery! And hinted in this tiny ad: