Swing UI alignment Issue on different Platform

Ads

 
 

Share on Google+Share on Google+

chandra shekhar
Swing UI alignment Issue on different Platform
1 Answer(s)      9 years ago
Posted in : Swing AWT
Ads
View Answers

September 19, 2008 at 8:24 PM


Hello

May be this code useful for you, check it.

Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
setSize(screenSize.width, screenSize.height);

Thanks
Rajanikant

Ads









Related Tutorials/Questions & Answers:
Swing UI alignment Issue on different Platform - Swing AWT
Swing UI alignment Issue on different Platform  Hi, We are developing screens using Java Swing on windows. The problem is when we take the same screen in Linux machine, The alignment is changing. This is happening if we change
Swing UI alignment Issue on different Platform - Swing AWT
Swing UI alignment Issue on different Platform  Hi, We are developing UI using Java Swing on windows. The problem is when we Test the same Ui... are developing UI using Java Swing on windows, As java is a platform independent , I
Advertisements
Cross Platform issue - Java Beginners
Cross Platform issue  Basically,this is a follow up to the last question. I have the alert so that the key pressed will be displayed in a firefox browser. How do I get it from an alert to be displayed in a textbox like
Version of com.thesett>debug_ui_tools_swing dependency
List of Version of com.thesett>debug_ui_tools_swing dependency
Using HeaderFooter class of iText API , Can we display multiple phrases in the footer section of PDF ,each with different alignment.
Using HeaderFooter class of iText API , Can we display multiple phrases in the footer section of PDF ,each with different alignment.  Hi, I have a similar question related to HeaderFooter class, I want to display three Phrases
Query on Java Swing - Table Cell Issue - Swing AWT
Query on Java Swing - Table Cell Issue  Hi, I have a query on Java Swing. we are using swing in our application, In one of the frame we are using JTable which has 6 columns which are editable. When I use the TAB button from
Maven Dependency debug_ui_tools_swing >> 0.9.97
You should include the dependency code given in this page to add Maven Dependency of com.thesett >> debug_ui_tools_swing version0.9.97 in your project
Maven Dependency debug_ui_tools_swing >> 0.9.77
You should include the dependency code given in this page to add Maven Dependency of com.thesett >> debug_ui_tools_swing version0.9.77 in your project
Maven Dependency debug_ui_tools_swing >> 0.9.117
You should include the dependency code given in this page to add Maven Dependency of com.thesett >> debug_ui_tools_swing version0.9.117 in your project
Tooltip alignment
alignment of that tooltip as desired.The Div is seen in the other position other than
Tooltip Alignment
alignment of that tooltip as desired.The Div is seen in the other position other than
Android Platform...
Android Platform...  I am willing to port a J2ME code on Android Platform.On eclipse, its giving some error issue,but actually those all are UI... Platform, On doing just certain changes
alignment for header and footer
alignment for header and footer  header and footer alignment is not fit like footer is not fit in bottom some white space is there in jsf, what to do
how to make a label left alignment?
how to make a label left alignment?  how to make a label left alignment
Alignment in struts 2.0 - Struts
Alignment in struts 2.0  Hi, I am working in Struts 2.0. I have 2 queries. 1) I have used tr and td but i am not able to align in center. 2)label and textfield are not coming in same line. indentation is not proper
Alignment of Image in HTML
to define the alignment of the image. This define the different position of image in the HTML page. The alignment of images define different location i.e top, middle... Alignment of Image in HTML   
JTABLE Issue
JTABLE Issue  Hi Eveyone, I am developing a small application on Swing-AWT. I have used JTABLE to show data. There is "input field" and "search... to go back for another search. Now issue is -- when I put some input data
Different JRE
Different JRE  Java is platform independent. The why different JRE's there for differen operating systems
SWING
SWING  A JAVA CODE OF MOVING TRAIN IN SWING
Alignment in the Dojo Date Widget - Ajax
Alignment in the Dojo Date Widget  Is there any way to align misaligned text in a dojo date widget?   Hi Friend, Please visit the following links: http://www.roseindia.net/dojo/ http://www.roseindia.net/dojo/dojo
issue on jcombobox
issue on jcombobox  i have JTextfield and JComboBox. there are several values in combobox.when i select a value from combobox how to make textfiled as a combobox.only few values in the combobox need this functionality. need
Multiple session problem - Swing AWT
Multiple session problem  I am working in a Linux based java swing... .A JPanel can only have one JDialog at a time.But mupltiple JPanel(on different JFrames) can be launched. While switching between JPanels I am facing issue
SwingWorker issue
... but if EDt waits woker thread to complete my UI will be frozen.... please suggest me a way to get object in my secound calss without making UI frozen
jdialogbox issue.
jdialogbox issue.  i have one button.when clicked on it has to show a dialog box.but even click on it several times it has to open dialog box only once. if it is already not opened atleast once,then only it has to open dialog
swing
swing  Write a java swing program to delete a selected record from a table
swing
swing  How to make swing component auto-resizable when JFrame resize
Issue with Javascript
Issue with Javascript  Hi I created arrays in javascript in following way var myimages= new Array(); myimages[0]="iphone_pushups.png"; myimages[1]= "cricket.png"; myimages[2]= "july.png"; myimages[3]= "matrix.png
Cascade Issue
and which one. The property inverse is set to FALSE. I've looked up different... is a normalization table, the dices role a bit different. Thanks for any input
Decimal Format Issue Java
Decimal Format Issue Java  Decimal Format Issue Java

Ads

 
Advertisement null

Ads