Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

can we use diff classes in swings

hi all,

can we write one swing application in to different classes i.e

creating a base panel in one class.,
object variables in one class.,
action listners in another class.,

pleze
if any sample program is


bye
shiva
[301 byte] By [shivaprasad] at [2007-11-11 6:50:19]
# 1 Re: can we use diff classes in swings
I'm assumeyou don't mean inner classes either? Not unless you want to mess with the Observer interface.
Phaelax at 2007-11-11 22:40:11 >
# 2 Re: can we use diff classes in swings
Yes, but your question is too general to answer more than that.
sjalle at 2007-11-11 22:41:11 >