This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
swing:start [2015/05/02 13:25] gthanos [FlowLayout Manager] |
swing:start [2015/05/02 13:27] gthanos [FlowLayout Manager] |
||
---|---|---|---|
Line 135: | Line 135: | ||
</code> | </code> | ||
- | Το παράθυρο που προκύπτει δίνεται παρακάτω. | + | Το παράθυρο που προκύπτει δίνεται παρακάτω. Δοκιμάστε να αλλάξετε την στοίχιση σε δεξιά ή κεντρική μεταβάλλοντας την γραμμή ''setLayout(new FlowLayout(FlowLayout.LEFT));'' σε |
+ | *''setLayout(new FlowLayout(FlowLayout.RIGHT));'' ή | ||
+ | *''setLayout(new FlowLayout(FlowLayout.CENTER));'' | ||
{{ :swing:flowlayoutdemo.png |}} | {{ :swing:flowlayoutdemo.png |}} | ||