Note that there are some explanatory texts on larger screens.

plurals
  1. POMicrobreaks - java swing tool
    primarykey
    data
    text
    <p>I have been using several <a href="http://www.stanford.edu/dept/EHS/prod/general/ergo/microbreaks.html" rel="nofollow">Microbreaks</a> software solutions. And all of them are overkill and/or don't do exactly what I want.</p> <p>I found that taking break every 20 minutes to stretch out and refocus my eyes helps tremendously with my energy during the whole day. </p> <p>I have been using all kinds of utilities on the inet for example <a href="http://www.eagerplanet.com/rsishield" rel="nofollow">RSI-Shield</a> </p> <p><strong>I want to create Swing program that will:</strong> </p> <ol> <li><p>Take two parameters at command line:<br> breakLength: time of the break (default 60 sec)<br> breakPopup: time in which the screen will get disabled. (default 20 min)</p></li> <li><p>The program will run as service ideally with manager icon (right bottom corner for windows) that will allow it to be terminated or suspended (in case I'm watching youtube or something I don't want break from). </p></li> <li><p>When program reaches breakPopup time it will gray out whole screen and in center display couple of tips (located in tips.properties file (tip1: "Stretch legs"). It will not have count down. Nice relaxing background instead of gray background would be good idea too, guess.</p></li> <li><p>When program reaches end of breakLength it will suspend it self and wait for another breakPopup schedule.</p></li> </ol> <p><strong>Problems:</strong> </p> <ol> <li><p>How do write in Swing application that will cover the whole screen without having any borders? And How do you center Tips in middle of it?</p></li> <li><p>What is the best way to go about writing this as service running in background with little app that would start and stop it? (Sort of like when you have tomcat on windows machine)</p></li> <li><p>What is the best way to approach the timer-scheduling logic? Ideally without using third party libraries.</p></li> <li><p>What universal installer would be good choice for little program like this?</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload