Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Ranganathan Kaliyur Mannar wrote:What you should do:
Write your own ListModel by extending the AbstractListModel. Within that class have a TreeMap variable to hold the data. Within the add or put method, make a call to super.fireContentsChanged() or fireIntervalAdded() to instruct the JList to adjust its display based on the new additions/deletions.
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
claire perp wrote:
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
claire perp wrote:
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
claire perp wrote:
...but now instead I get nullpointerexception.
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
claire perp wrote:If I keep reading the error log it says this:
Should I interpret it how?
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
claire perp wrote:Well this is it:
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
And will you succeed? Yes you will indeed! (98 and 3/4 % guaranteed) - Seuss. tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
|