Hi ! I did not use the Layout Managers on two of my assignment windows, both regarding database configuration, alone and network mode. May I use this approuch ? I did because as configuration windows they would not require iteraction regarding window and component resizing. Tks in advance ! Michel.
Sorry, I forgot to post another doubt. I developed a helper class to position objects in a JFrame. Very simple implementation which takes components from a array (label and component) and places them side by side in the screen. May I use it too ? Tks again ! Michel.
Hi Michel-- Other than the required use of a JTable, my specs (Contractors 2.1.1) don't mention any restrictions on how the GUI should be implemented; if you've got my doc, I'd say you're in good shape. One thing to look out for is to think about how another developer might want to add components to your container; does your implementation facilitate this process or hinder it?
Regards, Paul [ November 10, 2003: Message edited by: Paul Tongyoo ]
Hi Michel, I agree with Paul, just adding that if you use absolute positioning, make sure that your screens look still OK with different L&F. Now I wouldn't advice you to do what you decided : as using layout managers is a Java GUI "good practice", I would take into account the (small ?) risk that your examiner won't appreciate that you don't use them. But if you have a good justification for doing so, you should be OK IMO. Best, Phil. PS: Are you french, belgian, swiss or canadian ?
I also don't really recommend using a null layout manager, but if you do - what happens if the user tries to resize your app? Chances are, it won't look very good. This is what layout managers are good for. If you don't use a layout manager, consider using setResizable(false). [ November 10, 2003: Message edited by: Jim Yingst ]