Help: Display Modification on a sync slideshow program

D

dkayenc

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
http://schedule.itre.ad.ncsu.edu/jpresenter/index.html


Documentation for the project is very good. I've put the documents and
source code up at
http://schedule.itre.ad.ncsu.edu/jpresenter/doc/html/files.html


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.
Cheers,
-Dave
(e-mail address removed) remove NOSPAM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top