Examples of JXImageView


Examples of org.jdesktop.swingx.JXImageView

     * {@inheritDoc}
     */
    protected void createDemo() {
        setLayout(new BorderLayout());
       
        imageView = new JXImageView();
        imageView.setName("imageView");
        add(imageView);
       
        JPanel sidebar = new JPanel(new VerticalLayout());
        openButton = new JButton();
View Full Code Here

Examples of org.jdesktop.swingx.JXImageView

   */
  public PreviewPanel() {
    setLayout(new GridLayout(1, 1));
    imagepanel = new JPanel(new BorderLayout());
    setPreferredSize(new Dimension(320, 160));
    image = new JXImageView();
    // set content
    imagepanel.setBorder(BorderFactory.createEmptyBorder());
    imagepanel.add(new JScrollPane(image), BorderLayout.CENTER);

    // set toolbar
View Full Code Here

Examples of org.jdesktop.swingx.JXImageView

   */
  public PreviewIcon(final FormRessElement ress) {
    super(new GridLayout(1, 1));

    this.ress = ress;
    view = new JXImageView();
    view.addMouseListener(new MouseAdapter() {

      @Override
      public void mouseClicked(MouseEvent arg0) {
        PreviewPanel preview = new PreviewPanel();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.