You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

A1880

Intermediate

  • "A1880" is male
  • "A1880" started this thread

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

1

Thursday, October 29th 2009, 7:08pm

Tool for hex/dec/bin conversion demonstrates events

Hi,
here is a small tool which demonstrates event handlers in Jabaco.

In contrast to VB6 events, Jabaco/swing events behave a bit differently.
One big difference is that changes in the control do spawn an event regardless if they come from user interaction or from program execution.
Therefore, one has to take care to prevent events triggered from within an event handler. In simple cases this can be achieved by a global
boolean flag which indicates that an event handler is executing. This is demonstrated in the sample.

Cheers

A1880
A1880 has attached the following file:
  • decHexBin.zip (5.1 kB - 397 times downloaded - latest: Aug 7th 2020, 3:31am)

Rate this thread
WoltLab Burning Board