org.pbjar.jxlayer.demo
Class TestSwingX

java.lang.Object
  extended by org.pbjar.jxlayer.demo.TestSwingX
All Implemented Interfaces:
TestGUI

public class TestSwingX
extends Object
implements TestGUI

A test application specifically designed to test the cooperation of RepaintManagers.

Run a web start demo: Web Start Shared JXLayer

Author:
Piet Blok

Constructor Summary
TestSwingX()
           
 
Method Summary
static void main(String[] args)
          Run the demo.
 void repaintGUI(boolean force)
          Revalidate, repaint and optionally pack the application.
 void setScroller(boolean scrollPane)
          Put a JXLayer inside a JScrollPane, or remove it from the JScrollPane.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSwingX

public TestSwingX()
Method Detail

main

public static void main(String[] args)
Run the demo.

Parameters:
args - not used

repaintGUI

public void repaintGUI(boolean force)
Description copied from interface: TestGUI
Revalidate, repaint and optionally pack the application.

Specified by:
repaintGUI in interface TestGUI
Parameters:
force - if true the application must be packed and centered on the screen

setScroller

public void setScroller(boolean scrollPane)
Description copied from interface: TestGUI
Put a JXLayer inside a JScrollPane, or remove it from the JScrollPane.

Specified by:
setScroller in interface TestGUI