Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Muaz Bashara   on Dec 10 In Java Category.

  
Question Answered By: Dylan Evans   on Dec 10

The error message is correct as there is not a standard java  class named Text
locatable with the package designator "java.Text.*"

There is a standard java class named Text whose package designator is
"org.w3c.dom.Text"

That class is used in conjunction with xml documents.

If you are referring to another Text class that you have written or is in some
package you need to use, then its another problem.

Java has a pacakge called java.text

which has many useful classes.

If its one of these classes that you need, then use the impport statement:

import java.text.*;

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 


Tagged: