JAVA-INDEX.COM
Java programming resources: FAQs, tutorials, compiler and browser download sites, documentation, books lists, IDEs, etc.
Home....
|
log in....
|
Pub my question!
|
Sign-up....
Java-index
>>
Desktop
>>
Core GUI APIs
Making the JFrame window appear at center of screen
How can i making the JFrame window appear at center of screen, just like JOptionPane?
[92 byte] By [
sakuraleea
] at [2007-11-26 21:59:31]
««
ms word vs pdf + printing everything
»»
Difference between java 1.4 and java 1.5
# 1
Toolkit tk = Toolkit.getDefaultToolkit();Dimension screenSize = tk.getScreenSize();int screenHeight = screenSize.height;int screenWidth = screenSize.width;setLocation((screenWidth - framewidth)/2,
JTable_need_infoa
at 2007-7-10 3:58:33 >
# 2
You can center JFrame on screen like this:JFrame f = new JFrame();f.setLocationRelativeTo(null);
Toxtera
at 2007-7-10 3:58:33 >
Desktop
Missing version field in response from server when accessing resource
wakeup from standby
How to tell if a class within a jar file is being accessed?
Apps on pocketpc not available
Example of non-gui use of customized/editted bean?
XMLEncoder and EnumMap
problem installing NetBeans IDE 5.5 with JDK 6.0 Bundle on Windows Xp
How do we determine the JRE version (32 bit or 64 bit)
Java(TM) Platform SE binary has stopped working
JAR file not executing
Core GUI APIs
Jtable header selection
JTable Selection
Can I "Cut" a JFrame ?
Can I "Cut" a JFrame ?
swings
swings
Crossing out the Icon
JTabbedPane
Problem with Swing
handling events
Desktop New Topic
Jtable header selection
Can I "Cut" a JFrame ?
Can I "Cut" a JFrame ?
swings
swings
Missing version field in response from server when accessing resource
JTabbedPane
Problem with Swing
Desktop Hot Topic
JTable Selection
Crossing out the Icon
Virtual tree load with Swing?
Events to detect change in physical keyboard key state
JButton is created "selected" even when I declare it not to be so
Problem in using JScrollPane
Need Help in JPanel and JTable
JTable cell Render Problem!
Desktop
Core GUI APIs
Deploying
Runtime Environment
Developing for the Desktop
I18N
Sun Secure Global Desktop Software
Sun Java Desktop System
Sun Ray Software - General Discussion
Mozilla Browser For Solaris
All Classified
Archived Forums
Enterprise & Remote Computing
Java Essentials
Desktop
Core
Solaris Operating System
Security
Database Connectivity
Java Mobility Forums
Web & Directory Servers
Development Tools
Application & Integration Servers
Java HotSpot Virtual Machine
Other Topics
E-Mail, Calendar, & Collaboration
Developer Tools
General
Administration Tools
Sun Hardware
Storage Forums
Java Enterprise System
StarOffice
Open Source Technologies
BigAdmin
Real-Time
Java Coding