35,618 Topics
![]() | |
Hi, I'm an IT student taking up web site development. One of the courses we are taking is Java. Anyway, I have been trying to change two String arrays to Boolean's. I keep getting errors all the time, and am at my wits end! Could someone show me how to … | |
First I'd like to thank the forum for helping me out with my look and feel issue earlier. The given code worked wonders. Now I'd like to be able to set up a scrollable GUI, but I have no idea where to start. I know JScrollPane and JScrollBar are involved, … | |
On clicking on a link at(home.jsp), I ned to forward the request to another page(quickSearch.jsp). With this I have to pass two values to the page. What is the way out? I created a java script function for it as below function report_ref(refid) { <jsp:forward page="quickSearch.jsp"> <jsp:param name="refid" value='refid' /> … | |
The subject title says it all. Is it worth taking classes at a university? I'm impatient with myself, and I would love to learn Java (some Sourceforge projects intrigue me) quickly and accurately. Is it worth the huge investment in time and money to take classes somewhere, or even online... … | |
Has anyone else had a problem with Java running on Firefox using windows Vista. I have installed java and it works on internet exploreer but i wont work on firefox when i tryed to install i get a a installation has failed doenst tell me why or anything just want … | |
Hello I am a newbie in java so now i just write codes with dialogs and JOptionPane .. like this so it's easy codes. So i want to write a program like this; Application will use only Dialog Boxes. Frames are not allowed to use. Application should ask eight questions … | |
Hello community, I am using java diff tool A7Soft JExamXML [URL]http://www.a7soft.com[/URL]. By default this tool uses Xerces but we are using Crimson. Has anybody know, how to specify JExamXML to use Crimson. Thanks. | |
Hello , I have a java program that genrates a family tree using swing and I want to use that in my JSP page.For which I have convert it into an Applet.Can anyone tell me how to convert it into Applet or any other alternate solution. | |
how to creat an applet array of 4 to get integers from the user and display the total marks of those nos. i tried but loops are not working. here is my program. import java.awt.*; import java.applet.*; import java.awt.event.*; public class test extends Applet implements ActionListener { Label l1,l2; TextField … | |
...kindly help me with this..........my code doesn't work.... ...create a program that will ask questions and at the end of the session it will display the total number of correct answers and the equivalent grade.... ...thanks..... import javax.swing.JOptionPane; public class questions { public static void main(String[] args) { int score=0; … | |
hi once again iam posting a same query but with a different approach please try to understand and reply me Iam developing a site like yatra.com now how can i share the databases of all the airlines, hotels etc into my website.that means inorder to maintain a site like yatra.com … | |
Hi, I'm terribly new at java, i created a program for a poster availability system and there are 8 errors that I have no idea how to resolve. The program is meant only to run at the command prompt. The errors are: C:\Project\Enrol.java:46: cannot find symbol symbol : method getID() … | |
Create a non-GUI based Java application that calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, the hourly rate, and the number of hours worked for that week. The application should then print out the name of the … | |
• Create a non-GUI based Java application that calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, the hourly rate, and the number of hours worked for that week. The application should then print out the name of … | |
I want to create a filter tool in my jsp page which is required to be similar to the column filter in excel sheet. Do we have any such tool in HTML? Or is there any good alternative for this? Sorry for posting html query under jsp topic. | |
Hi All, I am new to jsp. I need to know how to execute certain code on a button click(submit). my form has a text box and a submit button. Onclicking it, it has to execute a SQL query and then forward the control to another jsp page. Where to … | |
In my Java class, we have to randomly create basketball teams and random scores, then average the scores for each team, and average the scores for each game. I am not sure how to average the score for each game, meaning adding scores vertically in a vector versus adding scores … | |
This program will build/compile but not run. I get an error message [B]Code:[/B] [CODE] java.lang.NoClassDefFoundError: midterm1/Main Exception in thread "main" Java Result: 1 [/CODE] Now I am very new to java and all of the logical errors and messages that come with them. Please bare with me. Can anyone take … | |
Hello I am making a "Superclass" that provides a programmer easier means of constructing a java panel by providing a template so as not to reuse code over and over. I have reached a point where I am trying to allow the programmer to call one method with in my … | |
hi everybody, Iam using mysql.I have a login form in which user vl enter his name and password.Now when he/she types upper-case or lower-case in the username field,mysql unable to check the case.Is not mysql 4.0 not a case-sensitive.can anyone suggest how to solve it. | |
Theese are error i am getting .. please help.. thanks in advance [code] F:\JAVA\Java Files\lab 9\MyCustomer.java:12: cannot find symbol symbol : method addaccount(Account) location: class Customer cust1.addaccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:13: cannot find symbol symbol : class Savingsaccount location: class MyCustomer cust1.addAccount(new Savingsaccount(5000.0,0.05)); //saving accountNo= 2 ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:14: … | |
Hi Can someone help me, I have been trying to fix this for a while without any luck. I am new to JAVA programming though I have coded in many languages. What I am trying to do is use the JFileChooser class in a Windows 2000 environment, the user can … | |
Hello, I want to know how to return an entire object using API binary search. Not the index of where the object was found but the actual object. My WaketechFile class is just like the File class. Can anyone please help? import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.*; /** … | |
After i establish the connection through url i want to post the data . After posting the data there is no change in client Can anyone help me import java.net.*; import java.io.*; import sun.net.[url]www.http.HttpClient;[/url] import javax.net.ssl.*; public class classname{ public static void main (String[] args) { try { URL u … | |
opendata.jsp_____________ <% Class.forName("org.gjt.mm.mysql.Driver"); String url="jdbc:mysql://localhost:3306/mydata"; Connection con=DriverManager.getConnection(url,"root","123"); Statement smt=con.createStatement(); ResultSet rs; //int rs; %> counte.jsp_________________________________ <%@ page import ="java.sql.*"%> <%@ page import="java.util.*"%> <%@ include file="opendata.jsp"%> <%@ page contentType="text/html;charset=GB2312"%> <% request.getSession(true); int month,day,hour,today,total,select; String time; int sql; String errmsg=request.getParameter("errmsg"); GregorianCalendar calendar; calendar=new GregorianCalendar(); month=calendar.get(Calendar.MONTH)+1; day=calendar.get(Calendar.DAY_OF_MONTH); hour=calendar.get(Calendar.HOUR_OF_DAY); time="m"+String.valueOf(month)+"d"+String.valueOf(day); //sql="select * from counter … | |
how to load image in java using applets? if any boby know programs plz help me | |
I am getting this error message please help me solve it [code] F:\JAVA\Java Files\lab 9\MyCustomer.java:19: ';' expected account deposit(500.0); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: ';' expected cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: not a statement cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: ';' expected cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:27: ';' expected … | |
Credit card(parent)Debitcard(child). At the file menu if you choose "credit"+"new Account" the parent works fine. At the file menu if you choose "debit"+"new Account" the child does not work. I am haveing trouble creating a new object which is the debit class which uses its super (credit class) Can any … | |
Hi evrybody, as you can see I am new to this comunity and I hope I put this meesage in the right topic.I want to now from where I can get some online tests in jva fundamentals | |
Hi I am making an vending machine application. Now the vending Machine takes 5, 10, 20, 50 pence and 1 pound coins. Now I create a String object and use this to read input from the user i.e. read the denomination (Money e.g. 5 or 10 pence) the user enters. … |
The End.