| Author |
MIA NumberFormat class
|
forrest Carleton
Greenhorn
Joined: Apr 29, 2004
Posts: 2
|
|
My installation can not find the java.text.NumberFormat class. I included in the path: c:\j2sdk1.4.2_04\bin and defined pathclass, rebooted. any help is appreciated. Fc cannot resolve symbol symbol : class NumberFormat location: class hInvoiceApp ------------------------------------ import javax.swing.*; import java.lang.* ; public class enhInvoiceApp{ public static void main(String[] args){
|
 |
Antoine Waugh
Ranch Hand
Joined: Jan 24, 2004
Posts: 66
|
|
is this a compilation error? have you used the import statement? -twans
|
B.C.S.T, SCJP, Hero
|
 |
Blake Minghelli
Ranch Hand
Joined: Sep 13, 2002
Posts: 331
|
|
NumberFormat is part of the java.text package which you have not imported. Add java.text.NumberFormat or java.text.* to your imports. BTW, you don't need to import java.lang.* as it is done implicitly for you.
|
Blake Minghelli<br />SCWCD<br /> <br />"I'd put a quote here but I'm a non-conformist"
|
 |
forrest Carleton
Greenhorn
Joined: Apr 29, 2004
Posts: 2
|
|
Your right one! I needed java.text. Thanks, fc
|
 |
Antoine Waugh
Ranch Hand
Joined: Jan 24, 2004
Posts: 66
|
|
>>Your right one! although i do not understand this, your welcome
|
 |
 |
|
|
subject: MIA NumberFormat class
|
|
|