« Return to Thread: Clock help

Re: Clock help

by Doctor Sup :: Rate this Message:

Reply to Author | View in Thread

Firstly thankyou all for your advise, I have been able to implement an instance of time but i cannot get it to update. Petr using your code works but opens a new JFrame, if i try to modify this to simply update the JLabel i wish it to i either only get the current instance of time or too many errors i cannot comprehend. Similarly with that of Gregg, invokeLater seems to cause some issues. Any further advice would be great.

Sorry for my ignorance i have spent most of my time coding almost exclusivelyt in C and Prolog, this is a little hard to get used to not to mention the extensive modulation and abstraction...


Doctor Sup wrote:
I am very new to Netbeans and java programming in general so excuse my ignorance, but i am trying to implement a simple digital clock via a Jlabel but when i attempt to add a TimerBean it says "Components from the default package cannot be used outside of the default pakage" what does this mean? and more importantly how can i implement this clock ( as a basic decktop aplication ).

Thankyou for any help.

 « Return to Thread: Clock help