Ok, i will try to make this as clear as i can.
i have FrIndex with a layout like below.
when i created an event where the first button is clicked, the Red Panel will be removed and replace with another panel that i have in the same package.
so this is my code.
void CallMocChiaKhoa() {
pnMocChiaKhoa p = new pnMocChiaKhoa();
pnMain.removeAll();
pnMain.add(p);
pnMain.validate();
}
normally this code would work just perfectly fine..i did this before with another similar project.
can anyone help?