i am doing a desktop application using netbean6.8 how to show error message if i didnt enter mobile number textbox pls help me....

wrap your code with try/catch blocks in your actionPerformed method. that way, if a user enters something incorrect, it will be caught by the catch..

Can you show the relevant part of the code?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.