List of usage examples for javax.swing JComponent subclass-usage
From source file OptionDialogTest.java
/** * A component with a painted surface */ class SampleComponent extends JComponent { public void paintComponent(Graphics g) {
From source file com.googlecode.vfsjfilechooser2.VFSJFileChooser.java
/** * The filechooser class with commons-VFS abstraction layer based on JFileChooser * @author Yves Zoundi <yveszoundi at users dot sf dot net> * @version 0.0.1 */ @SuppressWarnings("serial")
From source file org.pentaho.reporting.designer.core.editor.report.AbstractRenderComponent.java
/** * Base class to handle rendering & dnd events of elements rendered inside sub-reports * * @author Thomas Morgner */ public abstract class AbstractRenderComponent extends JComponent
From source file com.actelion.research.table.view.JVisualization.java
public abstract class JVisualization extends JComponent implements CompoundTableListener, FocusableView, HighlightListener, MarkerLabelDisplayer, ListSelectionListener, MouseListener, MouseMotionListener, Printable, CompoundTableHitlistListener, VisualizationColorListener { private static final long serialVersionUID = 0x20100610; // taken from class com.actelion.research.gui.form.FormObjectBorder
From source file BookTest.java
/** * The canvas for displaying the print preview. */ class PrintPreviewCanvas extends JComponent { /** * Constructs a print preview canvas.
From source file SwingTypeTester10.java
class CharacterDisplayCanvas extends JComponent implements CharacterListener { protected FontMetrics fm; protected char[] tmpChar = new char[1]; protected int fontHeight;
From source file JuliaSet3.java
class JuliaSet1 extends JComponent { // These constants are hard-coded for simplicity double x1 = -1.5, y1 = -1.5, x2 = 1.5, y2 = 1.5; // Region of complex plane int width = 400, height = 400; // Mapped to these pixels
From source file FileChooserDemo2.java
class ImagePreview extends JComponent implements PropertyChangeListener { ImageIcon thumbnail = null; File file = null; public ImagePreview(JFileChooser fc) { setPreferredSize(new Dimension(100, 50));
From source file SwingTypeTester8.java
class CharacterDisplayCanvas extends JComponent implements CharacterListener { protected FontMetrics fm; protected char[] tmpChar = new char[1]; protected int fontHeight; public CharacterDisplayCanvas(CharacterSource cs) {
From source file DragPictureDemo2.java
class Picture extends JComponent implements MouseListener, FocusListener, Accessible { Image image; public Picture(Image image) { this.image = image;