www.pudn.com > TestToolsProject.rar > CustomJOptionPane.java, change:2014-03-30,size:400b


package com.mervyn.testsource; 
 
import javax.swing.ImageIcon; 
import javax.swing.JOptionPane; 
 
public class CustomJOptionPane { 
	public void CreateJOpeionPane(String PicturePath,String ShowMessage,String PromptMessage) 
	{ 
		ImageIcon imageIcon = new ImageIcon (PicturePath); 
		JOptionPane.showMessageDialog (null, ShowMessage, PromptMessage, JOptionPane.PLAIN_MESSAGE, imageIcon); 
	} 
 
}