35,618 Topics

Member Avatar for
Member Avatar for nare_splen

Hi, I had a jsp which is built using struts. It is 54 Kb. [B]Problem is page is not getting loading in JBoss server. Server console error is : “Code too large for try statement”.[/B] When I see the java file what server generates for the jsp, all the (form)fields …

Member Avatar for jwenting
0
86
Member Avatar for nsuleiman

Hello everybody I am doing a project on PDA PalmOSo and am using SuperWaba to develop the application however, since I am not more familiar with this tool I need help. So please any who has a experience on this tool help me on the following questions. My question is …

Member Avatar for Ezzaral
0
135
Member Avatar for tehpirate

Hi i want to read words form a text file placed in the same folder as the java file and then hold the information in an array. so far ive written code to read the text file (i think) im trying to teach my self so if ive done this …

Member Avatar for Ezzaral
0
87
Member Avatar for paurik

Hi i am using java wrapper service api to launch my application as os service. i already configure this service for window os. but ther is problem for linux os. when i run myapplication.sh file it gives me java.lang.noclassdefFounderror error. i put my config my file follow if if some …

Member Avatar for blufab
0
207
Member Avatar for Amitji

Hi all Cn any one help me to find out the full path of Current Running Application using java? Thanks

0
76
Member Avatar for ramankrishna

hi this is ramakrishna, i am in my 3yr and i want o develop a project for my jwellary shop which would be standalone project connected to 4 systems in our office with following fields as 1)Transaction - Purchase, Sales, Debit/Credit note, Account voucher, Goods Issue recept, issue to Karigar(worker), …

Member Avatar for Jens
0
121
Member Avatar for sosuave

public class Student { private String name; private String address; private String phone; private String major; String[] classesTaken = new String[100]; double[] gradesRecived = new double[100]; public void addClassesTaken (String classID) {} public void addGradeReived(float classGrade){} public void changeGradesRecieved(String classID, double newGrade){} public double computeGPA( ) { } } I …

Member Avatar for javaAddict
0
106
Member Avatar for NycNessyness

I have an important question at the moment. I wanted to know how I can go about multiplying or adding checkboxes to display information on a label. For example if I have 3 checkboxes labeled chkMovie, chkAmusement and chkConcert and I have 2 checkbox groups called chkChild and chkAdult. How …

Member Avatar for VernonDozier
0
104
Member Avatar for antony_24

Hi ,I am experiencing a problem with QT Java 6.1 on Windows XP using Java1.4.2 (_2, _3, and _4) where a QT Component (as Component()) created from a Movie Controller placed in a window or frame will sometimes freeze when another window is placed in front of it or removed …

0
46
Member Avatar for K504K

[B]Background:[/B] Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number of hours worked. Use a constructor to initialize the employee information, and a method within that class to calculate the weekly pay. Once stop is entered …

Member Avatar for K504K
0
191
Member Avatar for sidemon

[code] if (usrPass.length() >= 6) { for (int i = 0; i < usrPass.length(); i++) { passCh = usrPass.charAt(i); if (passCh == ' ') { b = true; //Bad System.out.println("got a space at" +i); } if (Character.isUpperCase(passCh)) c = true; //Good if (Character.isLowerCase(passCh)) d = true; //Good if (Character.isDigit(passCh)) e …

Member Avatar for sidemon
0
86
Member Avatar for harisagar

[B]hai i need example code for an project i am developing in gui student management i need code for add,delete,edit student using arrays or files not database[/B]

Member Avatar for jasimp
0
138
Member Avatar for Venks

Hai I want to set my time to system in our application, how to set the time and to get the time?

Member Avatar for Ezzaral
0
97
Member Avatar for Thirusha

Hi I have a collection which is the resultset of a sql query. when i write out the collection (using system.out.println(col)) my collection is in the correct order. -- which is great. But when i iterate through the collection in order to populate my linkedhashmap, the items are inserted into …

Member Avatar for Thirusha
0
95
Member Avatar for lordx78

[code=Java] package midp.firstAid; import javax.microedition.lcdui.*; public class AboutCopy extends Basic { public AboutCopy() { super("About Product"); append("Copyright 2008\n " + "\n Nanthikesvaran\n" + "\n" + "This product based on Java Technology " + "to give and provide sufficient information " + "of a knowledge on First Aid.\n"+ "It's still under …

Member Avatar for lordx78
0
80
Member Avatar for Katherine692008

How do I get this to ignore negative number and terminate when the number 0 is entered? Please HELP public void productTokenizer()throws IOException { System.out.println("Enter numbers to accumlulate their total.");//Prompt user to enter data //System.out.println("Zero and all negative numbers will Exit the Program:"); double sum = 0; int num = …

Member Avatar for Samudricka
0
110
Member Avatar for eranga262154

Hi all, How it is possible to make curved vertex of a swing container like JDialog. Say I the property setUndecratoed() to true, so there is just a rectangular shape window I have. I want to curved a vertex there. Any suggestions really appreciate.

0
65
Member Avatar for jimJohnson

I was sick the day on our review for this programming assignment so I am in kind of a dillema with a jerk for a professor...What I am going to do is after each section show you guys what I have and I don't think I should have too many …

Member Avatar for jimJohnson
0
185
Member Avatar for Kusno

Dear all, I have query like this : SELECT ID, NAME, BEGINNINGBALANCE FROM TRXBUDGET ORDER BY ID BEGINNINGBALANCE is numeric field type in MySQL. Jasper Report / iReport recognizes this field as String, when I change the field type to Double, raises error like these : net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. Cannot cast from String to Double value = (java.lang.Double)(((java.lang.String)field_BEGINNINGBALANCE .getValue()));//$JR_EXPR_ID=14$ <----------------------------------------------------------------> …

Member Avatar for Kusno
0
304
Member Avatar for Karkalash

Hi all: I'm a newbie at Java and having fun :) So I'm doing a pattern program, so far so good, but I wanted to ask if there is any console specifier for spaces only and not width between integers. I'm using only integers so I thought I should use …

0
61
Member Avatar for unkno

I currently have Java RE Environment 6 update 1, Java 6 update 2, and Java 6 update 3 on my computer add/remove program. Can i remove the earlier updates (1 and 2, but keep 3)?

Member Avatar for crunchie
0
14
Member Avatar for jimJohnson

I know this is a C++ forum but I have a java question that I am stuck on...it really isnt a big one but would it be ok if I post it in here because noone in the java forum is responding...I have most of the program finished...is that ok?

Member Avatar for Ancient Dragon
0
55
Member Avatar for dakrous

I'm really knew to this programming thing, and need a little help. My objective is to read data from a file like 2 2 0 0 wwdd 0 1 wwxd 1 0 ddwd 1 1 ddww I have read the file line by line, but I do not know how …

Member Avatar for dakrous
0
125
Member Avatar for ultimate_fusion

as above. e.g int[] array = new int[can be any size] joptionpane.showmessagebox(null, "what to put here is the question" "messageboxtitle" joptionpane.informationmessage}; //dont correct the message box crap i was in a rush i know how to do it e.g array 1 = 1 array 2 = 5 array 3 = …

Member Avatar for franchav
0
3K
Member Avatar for anbuhikaru

So i'm a java student in 9th grade and my code gives me an error i have never encountered before... time is off the essence, so quick help is loved!: it says: Play.java:5: Play is not abstract and does not override abstract method keyReleased(java.awt.event.KeyEvent) public class Play extends JApplet implements …

Member Avatar for jasimp
0
159
Member Avatar for reena22

Hi all i just want to know where i can get any java program of about 1000 lines of code BUT it should be open source. looking forward to your help thanks

Member Avatar for reena22
0
108
Member Avatar for irtiza

Hey Guys.....I am new in web development and this was supposed to be my first Servlet but I am getting java.lang.ClassNotFoundException: servlets.HelloWorldServlet Now in my Apache tomcat folder C:\apache-tomcat-6.0.16\webapps\ServletExamples I have the WEB-INF folder.....which has the web.xml.... Web.xml is something like this... [CODE] <?xml version="1.0" encoding="ISO-8859-1"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee …

Member Avatar for sinan.yumak
0
104
Member Avatar for nickclark3

We have to create a spellchecker for a class project. I've written code for a binary search tree, but need to update it for a tertiary search tree according to my prof. other then adding a third child, what should I do? Thanks for the help. Here's my code for …

0
89
Member Avatar for Neablis

Hello, ive been working on this code to evaluate infix notation for a while now, and i cant get it to work no matter what. I keep getting back 195 and it much be something that i just cant see... Thanks for any help. [code] public Character evaluate( String input){ …

0
85
Member Avatar for beatlea

Hello, I created an ArrayList with lists and arrays (randomly chosen) of queues and now need to get access to these lists and arrays to add, remove and display elements in them. How could I do this? I tried ArrayList methods like get(int index) and iterator(), but it just shows …

Member Avatar for beatlea
0
172

The End.