Salve sono interessato anche io a questo argomento.
Ho provato, ma non sono riuscito ad ottenere l'effetto voluto da sportfantasy.
Questo è il mio codice:
Qualcuno potrebbe dare una maggior delucidazione.codice:JFrame frame2 = new JFrame(); frame2.setSize(300, 300); JTextField text2 = new JTextField("Senza titolo"); text2.setBackground(Color.orange); frame.setUndecorated(false); frame2.add(text2); frame2.setLocation(400, 400); frame2.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame2.setVisible(true)
Grazie.

Rispondi quotando