File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to so the error in textarea

 
gowtham cow
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
while typing user missing ) at the time i want to show error

ex:

set (aa,bb --> here i wnt to show error
set (aa,bb)
 
Maneesh Godbole
Saloon Keeper
Posts: 10976
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gowtham cow wrote:

Please check your private messages for an important administrative matter.
 
Maneesh Godbole
Saloon Keeper
Posts: 10976
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you got so far, and where are you stuck?
Check out http://faq.javaranch.com/java/NumericTextField for an idea on how it can be done.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gowtham cow wrote:while typing user missing ) at the time i want to show error

ex:

set (aa,bb --> here i wnt to show error
set (aa,bb)


As hard as your explanation is to understand, I will try. You might want to improve your communication skills.

My understanding is that you have a text box and a user types something into it. When the user misses a close bracket symbol ')' you would like to raise an error. So...

Is this a web page ? Swing ? Eclipse RCP ?
How do you want to display the error ?
What did you do so far and why did it not work ?
 
gowtham cow
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
like netbean i want to show error if close bracket missing ..

ex:
set (aa,bb here i want to so ) expected in my text area editor


please reply if no the solution
 
Campbell Ritchie
Sheriff
Pie
Posts: 47300
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean you want to parse the text as if it were program code?
 
Maneesh Godbole
Saloon Keeper
Posts: 10976
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gowtham cow wrote:like netbean i want to show error if close bracket missing ..
ex:
set (aa,bb here i want to so ) expected in my text area editor
please reply if no the solution


Maneesh Godbole wrote:
gowtham cow wrote:

Please check your private messages for an important administrative matter.


Goutham,
You really need to check your private messages. Please not it is not optional
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic