I have two Packages with java Class
- PKStrings
- PkJforms
public class classWork {
public String[] titleMenu={
"A","B","C","D"
};
public int intOption;
}
I have JFrame
with menu
A click go jframe A,
B click go jframe B,
C click go jframe C,
D click go jframe D
And other frame in same package
JFram01
, contains JLabel
.
How to recognize if you click on "A" and show that position label?