al @ twitter
|
photos
|
contact
|
about
|
rss feed
new
An Akka Actors Ping-Pong example
A five-minute Simple Build Tool (SBT) video tutorial
Connecting to the NeuroSky ThinkGear API (in Scala)
How to create an X/Y graph with JFreeChart and Scala Swing
Logging brainwave data with ShadajL's NeuroSky MindWave Scala library
Using ShadajL's NeuroSky MindWave Scala library
Getting global keystrokes in a Java or Scala Swing application
Creating a web browser with Scala Swing
How to center a window/frame with Scala Swing
Scala Cookbook information
more
categories
android
(17)
best practices
(61)
career
(43)
cvs
(27)
design
(21)
drupal
(82)
eclipse
(6)
gadgets
(104)
git
(12)
intellij
(4)
java
(404)
jbuilder
(19)
jdbc
(21)
swing
(74)
jsp
(9)
latex
(26)
linux/unix
(255)
mac os x
(288)
mysql
(47)
news
(108)
ooa/ood
(11)
page 1
(280)
perl
(155)
php
(93)
postgresql
(17)
ruby
(56)
scala
(146)
servlets
(10)
svn
(6)
technology
(70)
testing
(13)
uml
(24)
A simple way to center a JFrame (Java JFrame)
By Alvin Alexander on April 2, 2012
Category:
java
This is a simple way to center a JFrame in Java:
myFrame.setLocationRelativeTo(null);
Tags:
java
Tags:
jframe
Tags:
center
< Back to My Source Code Snippets
related
How to maximize a JFrame
How to center a JFrame on screen
JFrame title - how to set the JFrame title
JDialog centering - How to center a JDialog
JFrame examples and tutorials (collection)
Java JFrame - How to create, center, and display a JFrame
JFrame color - How to set the JFrame background color
How to create and use a JScrollPane in a Java Swing application
JFrame size - how to set the JFrame size
JFrame size example - how to set the initial JFrame size
Post new comment
Your name:
E-mail:
The content of this field is kept private and will not be shown publicly.
Homepage:
Subject:
Comment:
*
Post new comment