*
The moose likes Swing / AWT / SWT and the fly likes DecimalFormat error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "DecimalFormat error" Watch "DecimalFormat error" New topic
Author

DecimalFormat error

Mike Lipay
Ranch Hand

Joined: Sep 11, 2007
Posts: 171
I'm not understanding why, but mf.format works while cf.format throws an error.




Here is the run time error:
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
Which line do you get the Exception at?
Mike Lipay
Ranch Hand

Joined: Sep 11, 2007
Posts: 171
Campbell Ritchie wrote:Which line do you get the Exception at?


#182: if (c == 4) return cf.format(serviceTable[r][c]);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DecimalFormat error
 
Similar Threads
Is there a way to show an image in a JTable as a thumbnail?
How do I pass a frame into another class?
Table cells not editable
Out of bound on removeRow
JTable dates