32,204 Topics
| |
I am running a java database Manager under solaris the main command is $ java DBMan & I run this and get the following error Exception in thread "main" java.lang.NoClassDefFoundError: DBMan My ClassPath is set to the below CLASSPATH=/opt/VCNsrv/bin/java/DatabaseManager/DBManager.jar This IS the main path to the .jar file that contains … | |
I am doing my homework right now. my program is providing 3 slider that user can choose RGB value and fill the color in rectangle. also everytime when the user slide the slider, there should be a JTextField can show the value which the user choose. my problms are: I … | |
| |
my code is posted below the program is to be very simple just just a button a choice box a text box and a canvas the user is to be able to select what item they want and then the price appears in the label....then the user is able to … | |
I cannot run javascript on Windows XP Home. I've got rid of pop-up blockers and adware stuff. i've checked and re-checked settings in IE but it still will not run javascript on my machine. However, it will do this if I am surfing the web. Why won't my machine allow … | |
Hi, I completed my Advanced Java with JDBC,Servlet and JSP. I write one simple web application for online shopping using jdbc,servlets,beans and jsp. I installed Sun Java™ System Application Server Platform Edition 8 on my windows XP system. Now, my questios are like 1) where to put my index.html to … | |
Hi everyone.I'm basically new to java but with the help of this forum i have managed to come up with the folowing code(see attachment).I'm a bit stuck now and i need help. PROBLEM STATEMENT When the login button(submit) is clicked i want the program to connect to a db(which i … | |
hi everyone.Can anione please tell me how can i create an action listener on a button in a java application.I know how to create one on an applet but somehow cant seem to do like wise on an application.Please help!.. :o | |
When I tried to set fullscreen in my applet I got trouble with the sandbox. But it only said [B]exclusive[/B] fullscreen mode is not allowed. So if I dont want to sign my applet, is there any way to get another fullscreen mode? I dont know what the other modes … | |
hi everyone. I have a user interface with a login button(see attachment), The problem i'm having is: 1. When the login button is clicked, i want the frame to dispose.and another frame(timerframe) to be visible. 2.The login button has an actionlistener within it. 3.The login button also connects to a … | |
I wrote this program, however I can't seem to get it to read a string of numbers. Right now it inputs the numbers as single digits and also counts the white spaces. I thought that StringTokenizer would work, but I can't get it to. It compiles, but then errors out. … | |
Hello everyone. i'm new to the java world and i'm strugling to understand internal frames. I want to add a frame on top of another frame, and everything i try cant seem to work.Any help on this matter will be greatly appreciated. :?: | |
Dear sir, This function converts a string to a numeric value. Provide two versions of this function overloading to return either a long or double value Here is the pseudo code for the FNVAL processing Validate the input string value If it contains any non numeric characters, then throw a … | |
can anyone help me with the code for a vending machine in java please im begging you guys i need in less than 24 hrs | |
Hi all I am currently doing a survey form which will automatically send the results to a specific email on the key of the submit button. I have tried writing out to a text file before but not to an email. Can anyone please help? Thanks a lot. | |
Hi all, I need to maintain a text file which contains only 10 lines. As a new line is added to the top - a line is removed from the bottom. So although the file is automatically updated regularly it will always contain only 10 lines. I know how to … | |
dear sir Hi, In text field I want to restrict No of character entered should be only 3 if fourth character entering in same TextFiled it should not allow. How to solve it ? Warm regards sunil | |
I know that spiders are incapable of filling out forms and the like. But if I have links that have been dynamically generated client-side by some simple javascript, are they capable of following these links? | |
I am trying to get more control on user input. I have written a couple of Exceptions to handle two different user inputs, but I want to program to retry it if it is invalid and allow the program to continue. I have tried using a labeled break and it … | |
Conveyor belt slideshow script- I am adding lots of images and linking them to the matching pages. Question: 1.Is there a way to set an anchor code so the slide show continues at the last clicked picture and does not start from the beginning ? 2. Opening the link in … | |
How can I read a string in from the user? For example, I am writing a console-based java application which prompt the user to enter a string and then reads that string in. What is the opposite of System.out.println? ;) System.in.readln? I can't get it to work and I'm a … | |
Hi, I get an error message at start up saying, This was after i deleted some adware which was changing my internet hompage to one with many pop ups Error Cannot load C:\WINDOWS\javayk.dll The specified module could not be found I downloaded spybot, adaware, system mechanic, PCbugdoctor to try and … | |
Hi, my problem is: Need execute a application and not display this application on screen, but need save the main Frame as image (JPG or other format) in one archive, or draw it in a variable in memory to use her as a texture of an object 3D. Please help … | |
do you have simple code client and server for a smal example of chat multithreaded? :p | |
Hi, I need an exampls program in java to store image datatype in ms-sql database.i am writing a jsp file in that i wanted attach a file.in oracle i wriiten like this,but i need in ms-sql.i required urgently.pls help me. code in java using oracle. i need it in ms-sql. … | |
I have two classes. The first collects input data and calls a second class for inputing data from a file. After the data is read I would like to use it inother classes but am having problems getting the data back. To save space I will only show part of … | |
Im new to java programming. I want to establish a connection to my MS-sql database using java. How do i do it? | |
I wrote a program that was compiled successfully. I wrote another program to use it but it will not see it. I am using JDK 1.4._2 "import java.io.*; import java.sql.*; class RunPM4DataAdmin{ public static void main(String[] arg){ PM4DataAdmin trythis = new PM4DataAdmin(); int requiredSize = trythis.getSize(); System.out.println(requiredSize); } } Trying … | |
Hi All I am a c++ programer tring to run my exe from a java interface. But the java interface that i wrote run on windows and the c++ exe is in unix. This is not helping me: Process p = Runtime.getRuntime().exec("\\bmdth01\\ddef03\\ksh_sh"); the unix is mapped to my comutere via … | |
I am pretty fresh in the java environment but i am working hard to learn. I wrote the code for a calculator, however I am having problems in making the memory buttons function properly. I have to create 4 memory buttons that function in the following way: When the memory … |
The End.