List of usage examples for javax.swing JViewport subclass-usage
From source file Main.java
class MyViewport extends JViewport { int TILE = 64; public MyViewport() { setOpaque(false); setPreferredSize(new Dimension(6 * TILE, 6 * TILE));
From source file ScrollPaneWatermark.java
public class ScrollPaneWatermark extends JViewport { BufferedImage fgimage, bgimage; TexturePaint texture; public ScrollPaneWatermark() {