Example usage for javax.swing JDialog setIconImages

List of usage examples for javax.swing JDialog setIconImages

Introduction

In this page you can find the example usage for javax.swing JDialog setIconImages.

Prototype

public synchronized void setIconImages(java.util.List<? extends Image> icons) 

Source Link

Document

Sets the sequence of images to be displayed as the icon for this window.

Usage

From source file:com.aw.swing.mvp.JDialogView.java

private void setupIcons(JDialog dialog) {
    java.util.List list = new ArrayList();
    list.add(imageIcon.getImage());//w w  w .  j av a2 s  . c o  m
    list.add(imageIconBig.getImage());
    dialog.setIconImages(list);
}