Ajouter un commentaire

willbback

C'est plutôt mieux comme ça en effet. Tu as éventuellement les paramètres pour passer tes informations, car je ne sais plus si tu peux accéder à la taille définit dans ton objet (ça fait bien longtemps que j'ai abandonné les applets).
Ton applet étant signée, tu peux avoir accès à l'environnement graphique avec la méthode GraphicsEnvironment.getLocalGraphicsEnvironment()

GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice gd = ge.getDefaultScreenDevice();
DisplayMode dm = gd.getDisplayMode();
int height = dm.getHeight();
int width = dm.getWidth();

A tester....

Filtered HTML

Plain text

CAPTCHA
Cette question permet de vérifier que vous n'êtes pas un robot spammeur :-)
 W     W   QQQ    W     W  V     V  U   U 
W W Q Q W W V V U U
W W W Q Q W W W V V U U
W W W Q QQ W W W V V U U
W W QQQQ W W V UUU
Q