Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8085

Re: how to bypass this swing limit

From David Lamb <dalamb@cs.queensu.ca>
Newsgroups comp.lang.java.programmer
Subject Re: how to bypass this swing limit
References <99d5e91e-983c-4b87-ba97-657ccf137521@glegroupsg2000goo.googlegroups.com> <j4vtt8$cnv$1@dont-email.me> <c8ff6fb8-4610-4144-9072-0f5f44be67da@glegroupsg2000goo.googlegroups.com>
Message-ID <p7Ocq.15569$Ll3.7160@newsfe16.iad> (permalink)
Date 2011-09-16 16:15 -0400

Show all headers | View raw


On 16/09/2011 12:47 PM, Peter Cheung wrote:
> share the model can make two components display the same data. Except this, i need to create two set of event to handle mouse click, it is quite trouble.

You originally wanted the same component in two containers.  If the 
container handles mouse clicks, and uses them to update the model state, 
why do you need two sets of events?  Only one of the two components is 
going to get an incoming event at any one time.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

how to bypass this swing limit Peter Cheung <cmk128@gmail.com> - 2011-09-16 09:14 -0700
  Re: how to bypass this swing limit Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-09-16 18:31 +0200
    Re: how to bypass this swing limit Peter Cheung <cmk128@gmail.com> - 2011-09-16 09:47 -0700
      Re: how to bypass this swing limit Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-09-16 19:07 +0200
      Re: how to bypass this swing limit David Lamb <dalamb@cs.queensu.ca> - 2011-09-16 16:15 -0400
  Re: how to bypass this swing limit Roedy Green <see_website@mindprod.com.invalid> - 2011-09-16 14:48 -0700
    Re: how to bypass this swing limit Peter Cheung <cmk128@gmail.com> - 2011-09-19 03:29 -0700

csiph-web