| chojin |
i need some help with java. im on a degree course but im quite the dumbass when it comes to java :lol: i had to do all of my interfaces and make them interact...i've made them but im lost on the interaction. i need to know how to do two things:
1]add a listener to a button so that when it's pushed it closes the current window.
2]add a listener to a button so that it opens another class [interface] within the same project. i.e run the main method of that class?
lets say my button is btnClose and the class i want to navigate to is 'Second'
any help appreciated :) |
|
|