Why JDK does not have an AbsoluteLayout to be easier the GUI development? Why I have to learn about different type of layouts, I think this makes more difficult the GUI development. Thanks. Cristian.
It does have it. But I would highly recommend learning the layouts. They really are not that difficult to learn. Start with a panel and set the layout. Place a couple of components on it. Change layouts to see the effects. Resize the GUI. I don't like the null layout because you then have to code all of your own resizing or lock the user from resizing.
Hi, You can utilize the setLayout(null) and put your components in specifics positions. But this isn't a good idea, i developer a small software utilizing null Layout for Windows, when i need run the same software in Linux, the screen wasn't the same thing. The better to do is study the Layout Managers, case your application will be cross platform. Best Regards
Isaias
The problems of the world fade way as you eat a piece of pie. This tiny ad has never known problems: