Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ: How to use No Layout or Absolute Layout like Eclipse?

Title says all I would like to use no layout or the absolute layout from Eclipse. Is there a way of doing this?

like image 872
tctawd Avatar asked May 13 '14 22:05

tctawd


People also ask

How do I set absolute layout in Java?

For this go to app > res > layout > activity_main. xml file and change the Constraint Layout to Absolute Layout and add TextViews.

How do I use Jform designer in IntelliJ?

The JFormDesigner preferences are fully integrated into the IntelliJ IDEA settings dialog. Select File > Settings from the menu to open it, expand the "Other Settings" node and then select the "JFormDesigner" page. To set project specific settings, select the item named "JFormDesigner (Project)".

What is null layout in Java?

null layout is not a real layout manager. It means that no layout manager is assigned and the components can be put at specific x,y coordinates. It is useful for making quick prototypes. But it is not recommended for production because it is not portable.


1 Answers

No.

It's not supported in IntelliJ. Why don't you want to use a LayoutManager?

Source: http://devnet.jetbrains.com/message/3537347?tstart=0


If you use absolute layout, you have to do resizing entirely yourself, making sure things are lined up (which could be deep inside nested containers) by yourself, etc.

Check out GroupLayout: http://docs.oracle.com/javase/tutorial/uiswing/layout/group.html

like image 174
durron597 Avatar answered Sep 22 '22 07:09

durron597