Package de.yaams.extensions.basemap.tiled.mapeditor.util

Examples of de.yaams.extensions.basemap.tiled.mapeditor.util.ImageCellRenderer


    return mainPanel;
  }

  private JPanel createImagePanel() {
    imageList = new JList();
    imageList.setCellRenderer(new ImageCellRenderer());
    imageList.setLayoutOrientation(JList.HORIZONTAL_WRAP);
    imageList.addListSelectionListener(this);
    JScrollPane sp = new JScrollPane(imageList);
    sp.setPreferredSize(new Dimension(250, 150));
View Full Code Here


  }

  private void init() {
    // image list
    imageList = new JList();
    imageList.setCellRenderer(new ImageCellRenderer());
    imageList.setLayoutOrientation(JList.HORIZONTAL_WRAP);
    imageList.addListSelectionListener(this);
    JScrollPane sp = new JScrollPane();
    sp.getViewport().setView(imageList);
    sp.setPreferredSize(new Dimension(150, 150));
View Full Code Here

TOP

Related Classes of de.yaams.extensions.basemap.tiled.mapeditor.util.ImageCellRenderer

Copyright © 2018 www.massapicom. 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.