Parent Directory | Revision Log | Patch
revision 1.13.2.5 by gnu_andrew, Fri May 27 00:01:45 2005 UTC | revision 1.13.2.6 by gnu_andrew, Sun Jun 5 19:36:38 2005 UTC | |
---|---|---|
# | Line 599 public class JLayeredPane extends JCompo | Line 599 public class JLayeredPane extends JCompo |
599 | revalidate(); | revalidate(); |
600 | repaint(); | repaint(); |
601 | } | } |
602 | ||
603 | /** | |
604 | * Sets the layer property for a JComponent. | |
605 | * | |
606 | * @param component the component for which to set the layer | |
607 | * @param layer the layer property to set | |
608 | */ | |
609 | public static void putLayer(JComponent component, int layer) | |
610 | { | |
611 | getLayeredPaneAbove(component).setLayer(component, layer); | |
612 | } | |
613 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |