Article View: borland.public.jbuilder.java.swing
Article #90Re: How to set Windows XP Screen Resolution?
From: Paul Nichols [TeamB]
Date: Wed, 18 Jan 2006 17:24
Date: Wed, 18 Jan 2006 17:24
20 lines
1508 bytes
1508 bytes
Daniel Mark wrote: > Hello all: > > I would like to create a java application which can help me set Windows XP > screen resolution as some value such as 1024 X 768. > > Lots of topics in this forum are related to how to set screen resolution > for current application rather than XP system. Thus after quiting the > running application, the system screen resolution doesn't change at all. > > I would like to set the XP screen resolution and after I quit the java > program, the screen resolution should still be the one I just set. > > > Thank you > -Daniel You will be much better off trying to do this by calling the Windows System API, which means native code, or JNI at least.
Technical Details
Message-ID:
<43cd2373@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<43cd12df@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,d4755180382ebff0 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <43cd2373@newsgroups.borland.com> From: "Paul Nichols [TeamB]" <paul@comp.net> Subject: Re: How to set Windows XP Screen Resolution? Newsgroups: borland.public.jbuilder.java.swing Date: Wed, 18 Jan 2006 11:24:34 -0600 References: <43cd12df@newsgroups.borland.com> Lines: 21 User-Agent: KNode/0.9.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Host: 24.196.19.15 X-Trace: newsgroups.borland.com 1137517427 24.196.19.15 (17 Jan 2006 09:03:47 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail