Make Awt device more like Swing