Indika Hewage

Ranch Hand
+ Follow
since May 18, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Indika Hewage

When I try to run "asant" in command line I get "The input line is too long"

What is the reason for this error?

Thanks.
18 years ago
Thanks Adeel Ansari.
18 years ago
Hi all,
What are the methods available to run servlet?

Thanks.
18 years ago
Yes I did. But I get the same error message.
18 years ago
Hi,
I tried to develop basic servlet example as specified in http://java.sun.com/developer/onlineTraining/J2EE/Intro2/servlet/servlet.html.

When I create WAR file in Deployment tool I get the following error. How can I rectify this?

Thank you very much for any help.

Regards,
Indika

Error :
Unable to load servlet class specified in the module.
Please contact online help for assistance.
java.lang.UnsupportedClassVersionError : bonus/controller/BonusCalculationServlet (Unsupported major.minor version 49.0)
18 years ago
Thanks Sunil for the example.
18 years ago
Hi All,
I have 4 buttons in a toolbar. All these buttons appears on the left side of the toolbar. I need it to locate these buttons into the middle of the toolbar. Is it possible to do add these buttons into the middle of the toolbar?

Thanks.
Indika
18 years ago
Thanks Frank Ertl for the information.
18 years ago
Hi all,
I have two JFrames in the application. Second JFrame creates on top of the frist JFrame (main Frame). I need to disable first JFrame (main) until the users close the second Jframe (second frame act like a JDialog). Is it possible to do that?

Thanks.
18 years ago
Thanks.It works when I compile both files together.
18 years ago
Hi,
I have two java files in the same directory one with the main method. When I try to run the file with main method and I get "main java.lang.NoClassDefFoundError".

In main file I use a class defined in second file. How can I rectify this error?

Thanks.
18 years ago
Hi All,
I have to write a program for data entry. In the main screen (say screen1),I need to display another screen (say screen2) which should stay on top of the main screen. User shouldn't allow to swich back to main screen until the user closes this screen (Screen2).In the screen2 I have to add JTextFields, JButtons etc.

I need your opinion to develop this application please. I think I can use Jframe for the main screen (Screen1) and JDialog for the Screen2. What is the recommended Layout for the data entry screen which includes number of JButtons (to navigate through ResultSet and Insert,Edit,Delete,Save records). I would appreciate if someone can provide an example data entry screen layout for me.

Thanks.
18 years ago
Hi all,
How can I create a fixed size TextField? For example, JTextField(4) should only allow to enter 4 characters but we can enter more than 4 characters.

Thanks.
18 years ago
H all,
I need to develop a program with menu and couple of data entry screens. When the user click a menuitem, need to display relevant data entry screen. Can we use Jframe as data entry screens? I would appreciate if someone can provide an example.

Thanks
18 years ago