L
larkmore
This has come up a lot recently. Is there a way to apply a rotation
to how a component is displayed? I'm not referring to things covered
by SwingConstants.VERTICAL or SwingConstants.HORIZONTAL. What I want
to do is take a JLabel and rotate the entire thing counterclockwise by
ninety degrees so it reads along the side of the screen, or flip a
JProgressBar so it "grows" from top to bottom instead of bottom to
top. Is there a way to do this with predefined components?
-Will
to how a component is displayed? I'm not referring to things covered
by SwingConstants.VERTICAL or SwingConstants.HORIZONTAL. What I want
to do is take a JLabel and rotate the entire thing counterclockwise by
ninety degrees so it reads along the side of the screen, or flip a
JProgressBar so it "grows" from top to bottom instead of bottom to
top. Is there a way to do this with predefined components?
-Will