RSS Forums RSS
Please support our Java advertiser: Lunarpages Java Web Hosting

First JLIST, used with GUI Inventory

Join Date: Jul 2007
Posts: 186
Reputation: no1zson is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
no1zson's Avatar
no1zson no1zson is offline Offline
Junior Poster

Re: First JLIST, used with GUI Inventory

  #27  
Jul 26th, 2007
I hate it when I am stupid. I looked for just that.

I would now expect my listener to work now that currCD is working, but it does not. It stays blank until I enter something manually.
I wrote this yesterday as a template before all this, so that if we got it working I could lay down ones for the other fields.
Am I missing something else?
	// listener to perform calc upon leaving the price field
		priceField.addActionListener(new ActionListener()
		{
			public void actionPerformed(ActionEvent evt)
			{
			valueField.setValue( ((CdwArtist) listModel.get( currCD )).getValue() );

			}
		});
I never drew first, but I drew first blood.
I'm no ones son, unforgiven.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:06 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC