How to popup a authorize window like IE when we connect to a SSL server ..?

How to popup a authorize window like IE when we connect to a SSL server with untrust certicicate?Help me! Thanks!
[127 byte] By [godspeeda] at [2007-9-27 6:37:38]
# 1
Check my post from May 10 with the topic:"Custom TrustManager example which asks user for trustability"You will find a sample code there this purpose...
martindeinhofera at 2007-7-8 9:19:46 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 2
Thanks a lot....
godspeeda at 2007-7-8 9:19:46 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 3

Can you paste your import head to me? I tried to use this class as follow, but also has error:

import java.io.*;

import java.awt.*;

import java.awt.event.*;

import java.net.*;

import java.security.*;

import javax.swing.*;

import javax.swing.event.*;

import javax.net.ssl.*;

import javax.security.cert.*;

godspeeda at 2007-7-8 9:19:46 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...