R_Madhu
(R Madhu Sudhan)
March 28, 2012, 1:20pm
1
Hai, Mathias Clerc, thanks for responding.
I tried the above one, it isn,t working for listeners.
My code in java:
hLayout.addComponent(aLayout);
mainWindow.addComponent(hLayout);
if (temp == users) {
form = new PotralRegisterForm();
panel = form.regForm();
aLayout.addComponent(panel,"left: 1000px; right: 1000px; top: 1000px; bottom: 1000px;");
hLayout.addComponent(aLayout);
}
Mathias1
(Mathias Clerc)
March 29, 2012, 1:38am
2
You have lost me.
Can you reply in the thread (using the reply button) instead of creating new thread.
Last time I have helped you you were using split panels, what does it has to do with absolute layouts (which I have almost never used) ?
R_Madhu
(R Madhu Sudhan)
March 29, 2012, 9:45am
3
With the AbsoluteLayout We can set in any position of the panel
R_Madhu
(R Madhu Sudhan)
March 29, 2012, 9:50am
4
Hai, Mathias Clerc, thanks for responding.
I tried the above one, it isn,t working.
My JavaCode:
Button t = event.getButton();
@PersistenceContext
EntityManager em;
if (t == register) {
em.persist(student);
f.commit();
panel.getWindow().showNotification("Your registration is completed successfully........");
panel.getApplication().close();
}
Mathias1
(Mathias Clerc)
March 29, 2012, 11:54pm
5
If you close the application then it can’t do anything
R_Madhu
(R Madhu Sudhan)
March 30, 2012, 10:03am
6
Hai, Mathias Clerc, thanks for responding.
I tried the above one to panel in two ways one is percentage and pixels. what is the difference between them.
R_Madhu
(R Madhu Sudhan)
March 30, 2012, 10:13am
7
Hai, Mathias Clerc,
I want to keep the button beside the textfield can u give example how to keep the button