|
From: Houten, Stijn-P. v. <s.p...@tb...> - 2005-03-09 20:49:04
|
Hi Benny,
=20
* How can I determine the year, month, day, hour, minute and second from
the long value that is returned by Treatment.getStartTime()?
The long value is expressed in milliseconds, though I am not sure about
this. However, as soon as you make sure this long value is expressed in
milliseconds you can use the java.util.Calendar object for what you
want. Lookup the java doc for the specs, but it does support you in all
your needs.=20
=20
=20
* Is it possible to set the size of the DSOL main window so that I don't
have to resize it every time I run the application?
Unfortunately, this size is set as a finel in the DSOLFrame of the
DSOL-GUI class. My best guess is to build your own frame which
implements the DSOLApplicationInterface. Than you will be able to do
whatever you want.
=20
/** the preferredSize is the preferredSize of the panel */
public static final Dimension PREFERRED_SIZE =3D new
Dimension(400, 375);
=20
=20
* In Eclipse, when running an application in debug mode, is it
possible to specify a condition that will result in a break. For
example, I want the debugger to break when a variable reaches a certain
value and not at a breakpoint.
=20
I am not sure, however, you can also think of a work around (e.g. an
if-statement). Whenever your value is reached, you enter the
if-statement, in which you place your breakpoint.
=20
Hope this helps,
=20
Best regards,
=20
Stijn-Pieter van Houten.
=20
=20
=20
________________________________
Van: dso...@li...
[mailto:dso...@li...] Namens Bennie
Talma
Verzonden: woensdag 9 maart 2005 21:32
Aan: dso...@li...
Onderwerp: [Dsol-development] Time, size and debug
=20
Hi all,
I have some questions and I hope someone can help me out:
* How can I determine the year, month, day, hour, minute and second from
the long value that is returned by Treatment.getStartTime()?
* Is it possible to set the size of the DSOL main window so that I don't
have to resize it every time I run the application?
* In Eclipse, when running an application in debug mode, is it possible
to specify a condition that will result in a break. For example, I want
the debugger to break when a variable reaches a certain value and not at
a breakpoint.
Thanks,
Bennie
|