1. Java GUI Resolution Independant Scaling stackoverflow.comI'm working on a large legacy java application for which an important feature was automatic scaling of GUI Components based on monitor resolution. We are upgrading the JVM on which ... |
2. Java: Getting resolutions of one/all available monitors (instead of the whole desktop)? stackoverflow.comI have two different-sized monitors, connected together using (I believe) TwinView. I tried
and get
which is true if you count both monitors together.
Instead of this, I would like to be able achieving one ... |
3. java print api - printing JComponent at 300dpi stackoverflow.complease tell me if I am doing something wrong. I want to print barcodes onto labels, so I need high quality printout for these barcodes so I am pushing printer to ... |
4. Can I set the DPI resolution of my Java Swing application without changing the systems' DPI setting? stackoverflow.comI have a Java application using the Substance LookAndFeel with Windows as the the target platform and I want to increase the DPI setting of my application without changing the system ... |
5. Custom Monitor Resolution not recognized by Java stackoverflow.comMy weird monitor's native resolution isn't recognized by Windows, so I have to set a custom resolution for it. The problem is that java doesn't recognize it since it's not on ... |
6. Fixed size swing GUI changes when using different resolution stackoverflow.comI have a small java application with a swing gui. I have set a fixed size for the window and everything works really well. But when using the GUI on different ... |
7. Resolutions in swing stackoverflow.comI have a problem, my app in my resolution is perfect but in other machines with other resolutions is a disaster, what can I do? |
8. Full screen swing application on different resolutions stackoverflow.comI'm currently writing a desktopapplication using swing. My problem is that it is a fullscreen application that has to run on different computers with different screens and different resultions. Is there ... |
9. [SOLVED] Making NetBeans GUI bigger for larger resolutions forums.netbeans.orgHello, I've changed my monitor and started using bigger resolution. The thing is that eveything in NetBeans is now very small and hard to read. Can I somehow change GUI elements size? |
10. how to scale to screen resolution? coderanch.comHi, I have a small problem - my Java applcation is supposed to run (and look good) both on 640x480 and on 1024x768 resolutions. So I wondered if there's a way to scale gui programmatically, so that it'll take the same amount of screen space on both? Thanks, hope somebody will answer KathyS |
11. Resolution of the Monitor coderanch.com |
12. swing and resolution coderanch.com |
13. adjusting to screen resolution coderanch.comI am not 100% sure I understand what you are trying to do. But look at the following methods: Tookit.getDefaultToolkit().getScreenSize - returns Dimension So then when you set the size of your Frame you can do: setSize(Dimension.width, Dimension.height) If you need to place your frame in the middle of the screen you can do setLocation( (screen.width)-frameWidth)/2, (screen.height)-frameHeight)/2 ) If you need ... |
14. Font Sizes for Different Resolutions coderanch.comEssentially, I've developed a page that looks great in 1024x768 resolution.This is how I set font face & size: +content+ But when I look at it in a smaller resolution(800x600) the content that gets accomodated very well in 1024x768 ,it goes out of view in 800x600. What's the font size that should be speciifed for 800x600 resolution,so ... |
15. font size and screen resolution coderanch.com |
16. Swing application, screen resolution question coderanch.comHi Steve, Welcome to JavaRanch. Are you sure you want to change the user's screen resolution? That's almost like being a guest in someone's house and rearranging the furniture during your visit. You may not be able to do it anyway and certainly not 100% of the time (at least with the core API). Here's what you can try: import java.awt.*; ... |
17. Using fixed size across varible display resolutions coderanch.comI have created a MDI GUI using JInternalFrames. Many of the GUI components have a "fixed" size and/or width. Here "fixed" can mean either never changes, or changes automatically, such as when rows are added to, or removed from a table. The point is, the user doesn't have to worry about sizing, as the software takes care of it automatically. The ... |
18. swing components size based on screen resolution coderanch.com |
19. SWING components adjustment in different resolutions coderanch.comI want to create a fairly complex GUI using any IDE at 800x600 resolutions and then I need the GUI to adjust itself on 1024X768 and high resolutions. If I reduce the resolution, it should show Scrollbars. In otherwords, i need a layout which is expanding but should not shrink from a certain level and show scrollbars instead. Currently I am ... |
20. being notified of screen resolution changes coderanch.comHi, We have a swing application, where component sizes are set relative to screen size (this is a *strict* requirement from the customer). Example: some frame should occupy exactly 1/2 the screen width & height. So (eliminating insets for simplicity): Dimension screenSize=Toolkit.getDefaultToolkit().getScreenSize(); JFrame f=new JFrame(); Dimension halfDim=new Dimension((int)(screenSize.getWidth()/2), (int)(screenSize.getHeight()/2)); f.setSize(halfDim); The problem is, it doesn't work when user changes screen resolution ... |
21. How to set resolution of the screen coderanch.comHI guys , Hey thanx for opening this page. So might be u can help me. I want to set the resolution of the screen. I want to chagne the UI depending the resolution. How can i acheive this. I need ur helpp plz reply to this mail noww .. thanx in advance for ur co-operation. Vishal R. Methi |
22. Resolution and Swing coderanch.comThe soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - ... |
23. screen resolution change detection coderanch.comHi, Ive a smart phone that supports both portrait and landscape mode (it changes the mode when sliding the keyboard). I am developing a GUI using AWT and I need it to detect when the screen resolution changes. Now what I do is to get the screen resolution (defaultToolkit.getScreenResolution()) whenever the Frame is going to be painted. Is there a more ... |
24. using resolution independent swing component coderanch.comI have one Desktop application.In which i am using JInternal frame.I I had one image(scanning of pdf)having size 740 X 960 pixel, which is setting as backgroung image using paintComponent method of JPanel.I want to put textfields exactly over fields on image.I am putting textfields in Layrered pane and its added in that JPanel. It works fine on one resolution but ... |
25. screen resolution java coderanch.com |
26. Adjust font size according to resolution change (or different screen size) coderanch.comHi, I am new to swing programming. I have to develop an application which basically runs in 800*600 resolution, but it should work in other resolutions too. The problem I am facing now is with the font size of different components. Suppose I have size of font as 12. When I am in 1280*1024 it is looking nice. But when I ... |
27. Screen resolution coderanch.comhi all, I'm trying to get the screen resolution (eg: 1152 x 864) of a pc that is currently running the program, but i cant seem to get it to work. Iv changed the the resolution a couple of time but i always get the same result 96 but i think its because it takes the whole screens pixels per inch? ... |
28. screen resolution problem coderanch.comthanks for your reply. I have created a project in 1024X768 screen resolution. but the screen resolution is changed, the size of the panels in the frame are not changed according to the resolution. what I am trying to says is i want to run my project in any screen resolution with the same size or the size of the control ... |
29. Develop an application for several screen resolutions coderanch.comHi all, When you have to develop an application for several screen resolutions, what do you do? I want my application works under 800x600 resolution (minimum) but if i optimize it for this resolution, then under higher resolutions i'll have small windows or small components (JTextFields for example) inside them. Sorry if I made mistakes in my English. Thank you very ... |
30. Screen Resolution Problems java-forums.orgI am writing a program using GridBagLayout for my JFrames and JPanels. I have my screen resolution set to 1280 X 800. However, when my co-workers run the program with a lower screen resolution, many of the Components become tiny. I can get the same effect by manually making the window smaller by dragging the corner. There seems to be a ... |