Type: Posts; User: Cornix
Or instead just a custom class extending JDialog if JOptionPane does not give you the flexibility you want.