• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to so the error in textarea  RSS feed

 
gowtham cow
Greenhorn
Posts: 4
  • 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
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 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
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 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
  • 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
  • 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
Posts: 55351
157
  • 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
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!