Paul Clapham wrote:Sure, I will move it back to the Applets forum. You seem to get distracted by irrelevancies, though... would it be fair to say your question is "How can an applet find out the size of the browser it's running in"? (After all you're going to use the same method to find the browser's size regardless of whether the applet has been resized lately or not.)
Paul Clapham wrote:So would it be correct to say that your question is "What is the Javascript code which allows me to resize the browser window?"
Hopefully there isn't any -- I set my browser window the way I like it and I don't want your code messing with that -- but at any rate that question doesn't seem to be related to applets in any way. So let's move it to the Javascript forum. But if it turns out I have completely misinterpreted your question, just post a clarification and we'll move it again, if necessary.
Steve Clark wrote:If there are too many items in JMenu, some of them will disappear. They won't show them in multiple columns like windows.
Now I am using springlayout and calculate rows and rols by items' size. I made the items be showed in multiple columns. But the order is from left to top not vertical like normal menu from top to bottom.
Is there a layout can let items in this order? Boxlayout Y_AXIS is vertical but can I make it multiple columns?