Re: Best Layout?




Oliver Wong wrote:
[post re-ordered]

<bcr07548@xxxxxxxxxxxxx> wrote in message
news:1151445779.571471.127340@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Is there really no layout that allows you to position a component using
(X,Y) coordinates instead of "directions" like north and center
You are not compelled to use any layout manager. See
<http://java.sun.com/docs/books/tutorial/uiswing/layout/none.html>

Just what I was looking for. I was unsure at first because everything
online discourages it (including Sun)

The reason LayoutManagers are encouraged
<snip excellent reasons>

Another tack is that once you have the 'logic' of your
layout manager, it takes but a few lines of code to
incorporate it in an 'XYLayout' manager.

Further, I'm not sure if this has been mentioned yet,
but JFreeChart may be a better way to achieve the
overall effect the OP is after.

Andrew T.

.


Quantcast