Hi,
sorry for posting this here but I did not find another contact option.
I am currently working on my diploma thesis and i want to include swixml in my project. I already read a lot about swixml but I still have this problem:
when I render a frame the first time like in your login example it works fine. however i would like to do the following: after the user hits "submit" (or any other button) in the screen i want to proceed to a new screen. i wrote the following code in the submit action:
public void submit(){
// sa is a reference to the SwingApplication
// frame is mapped to the currently displayed frame
sa.render(frame,"screen2.xml");
}
this does not throw any exception but the user interface does not change at all.
how can i manage to show a new frame or a new panel in an existing frame?
thanks a lot in advance!
Thorsten
how can i manage this?
Hi, thx for your interest the sa.render(...) creates the swing components but doesn't show it ... so you have to change your code in the follow way. public void submit(){ // sa is a reference to the SwingApplication // frame is mapped to the currently displayed frame sa.render(frame,"screen2.xml"); sa.show( frame ); } i hope this helps good luck for your diplomaLabels: -Type-Defect Type-Other