Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I use absolute positioning for components in Visaj?

components positioning visaj
0
0 Posted

How do I use absolute positioning for components in Visaj?

0
0

Select the container that you wish to use absolute positioning on e.g. a Panel or Frame. Bring up the property editor and select the layout property (should be under java.awt.Container). The layout value should be set to null at this point. You should notice that the dynamic display shrinks so that you can no longer see your components. While using the null layout, you will have to explicitly set the sizes and locations for each component (or resize where necessary). The layout editor should allow you to move your components around and the changes immediately reflected in the dynamic display. There exist some simple mechanisms to aid in component alignment at the top of the layout editor (A few edge aligment tools) which become active on multiple selection of components.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123