Popup Windows

To display a popup window you can use IOSUIPopupWindow. The difference between poup window and message box is that you must provide the content of the popup window. Also you can specify the "owner" of the popup window. In this case the popup will point to the owner.

btnOptions = new IOSUIImageButton(new AbstractAction() {
	@Override
	public void actionPerformed(ActionEvent e) {
		final IOSUIListView lv = new IOSUIListView(new DefaultListViewModel(ListKind.SEPARATED, new PicasaOptionLD()));
		IOSUIPopupWindow pw = new IOSUIPopupWindow(btnOptions, lv, 300, 400, "Apple");
		pw.setBackground(lv.getBackground());
		pw.setVisible(true);
	}
}, PicasaGalleryDemo.class.getResource("/resources/tools.png"));