ok, farņ come mi hai consigliato, mi creo un immagine-sfondo
ho un altro problema! Non riesco a visualizzare un immagine:
......
Image grafico = Toolkit.getDefaultToolkit().getImage ( "grafico.gif" );
tab.add("Tab 1",grafico);
e mi da errore all' "add()"
Multiple markers at this line
- The method add(String, Component) in the type JTabbedPane is not applicable for the arguments (String, Image)
- The method add(String, Component) in the type JTabbedPane is not applicable for the arguments (String, Image,
JButton)
come faccio caricare allora l'immagine nel tab?