AbsoluteLayout

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);

	
	}

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) ?

With the AbsoluteLayout We can set in any position of the panel

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();

		}

If you close the application then it can’t do anything

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.

Hai, Mathias Clerc,

I want to keep the button beside the textfield can u give example how to keep the button