Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Help: Display Modification on a sync slideshow program

Thread Tools

Help: Display Modification on a sync slideshow program
Posts: n/a
I'm trying to modify some source code from a sourceforge project. I'm
very green with java. In short, the program is designed to webcast
images to a java browser. By the programmer's code, it checks the size
of the user's screen and runs java at full screen. The end user can
adjust the window size through right clicking (2 or 3 mouse button) or
click and hold (one mouse button). However, I need the window to be
decorative and be defined by a certain size, ex 360x270.

There are some variables and settings in awt that I don't have any clue
on setting. I believe that the changes to define the window size and
make the window decorative are at line 138. Ultimately, I'll aim to
produce a jar out of all of the classes.

A demonstration of the project in action can be found at

Documentation for the project is very good. I've put the documents and
source code up at

My theory on where the code could be modified is
at line 138

JWPFrameSS(String s, String d, String c, String b, String f, boolean
app) {
setSize(Toolkit.getDefaultToolkit().getScreenSize( )); //
maximize me
setDefaultCloseOperation(app?DISPOSE_ON_CLOSE:EXIT _ON_CLOSE);
setUndecorated(true); // this require JRE 1.4 or above.
getContentPane().add(new JWPPanelSS(this, s, d, c, b, f, app));

Any help is appreciate.
-Dave Removed) remove NOSPAM

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xlib sync on different instance of Xlib.display.Display()? Ferry Boender Python 0 12-13-2005 10:25 PM
sync.rb difference between Sync::UN, Sync::EX and Sync::SH Trans Ruby 2 12-12-2005 02:43 PM
Recommendation for on-line photo display/slideshow/prints Don Digital Photography 1 10-04-2005 04:05 AM
Calendar Control modification for Day Display Position (Mon, Tue, Wed..) Aspdeveloper ASP .Net Web Controls 0 08-29-2005 07:49 AM
Slideshow display problem Luis Veras Javascript 4 04-08-2005 11:31 PM