<--link rel="stylesheet" href="http://www.c-ba.org/wp-content/plugins/wp-syntax/wp-syntax.css" type="text/css" media="screen" /-->
rulururu


post Astuce Swing : Centrer un JDialog

April 16th, 2008

Filed under: Tout et rien — Cba @ 12:23

Cette astuce est facile à retrouver sur Internet mais je la note ici pour mémoire :

Voici un exemple d’un constructeur de JDialog

this.setLocationRelativeTo(null);

C’est trop simple !

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Technorati
  • Facebook
  • Google
  • YahooMyWeb


No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

ruldrurd
Powered by WordPress, Web Design by Laurentiu Piron