Michael Hennebry
2013-Jan-22 07:47 UTC
[CentOS] [OT] how to specify dimensions a a Java Popup
How, if at all, does one specify the size of a Java Popup? setSize on the contents Component does not get the job done regardless of when applied. I keep getting the same small square, serveral pixels on an edge. Is this documented somewhere? I've been trying to use docs.oracle.com, but nothing I've found answers the question. I truly hate the poke it and see what it does method of finding out what something is supposed to do. It never works. -- Michael hennebry at web.cs.ndsu.NoDak.edu "On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword." -- Lily
From: Michael Hennebry <hennebry at web.cs.ndsu.nodak.edu>> How, if at all, does one specify the size of a Java Popup? > setSize on the contents Component does not get the job done > regardless of when applied. > I keep getting the same small square, serveral pixels on an edge. > Is this documented somewhere? > I've been trying to use docs.oracle.com, but nothing I've > found answers the question. > I truly hate the poke it and see what it does method of finding > out what something is supposed to do.? It never works.Google says: http://www.java2s.com/Tutorial/Java/0240__Swing/CreatingPopUpComponents.htm JD