Form Maximize

General questions regarding the development with JVx.

Form Maximize

Postby Garantisoft » Wed Aug 17, 2011 4:57 pm

Hi,

How can do I form outo maximized without use UIDimansion?

private void initializeUI() throws Exception
{
UIGroupPanel group = new UIGroupPanel();
group.setText("Form");

UITable table = new UITable();
table.setDataBook(rdbContacts);

group.setLayout(new UIBorderLayout());
group.add(table);

//same behaviour as centered component in BorderLayout
setLayout(new UIBorderLayout());

add(group, UIBorderLayout.CENTER);

setTitle("Form");
setSize(new UIDimension(1366,640));
// setMaximumSize(1280,768);

}
Garantisoft
 
Posts: 16
Joined: Wed Aug 17, 2011 3:26 pm

Re: Form Maximize

Postby Support@SIB » Wed Aug 17, 2011 5:07 pm

Do you mean the size of the frame (UIInternalFrame)?

Use
Code: Select all
setState(UIInternalFrame.MAXIMIZED_BOTH);

to maximize the whole internal frame.

If you do not mean the frame, give us some more details.
User avatar
Support@SIB
 
Posts: 200
Joined: Mon Sep 28, 2009 1:56 pm

Re: Form Maximize

Postby Garantisoft » Wed Aug 17, 2011 5:16 pm

Thanks. Work fine.
Garantisoft
 
Posts: 16
Joined: Wed Aug 17, 2011 3:26 pm


Return to Development