35,618 Topics

Member Avatar for
Member Avatar for arcticM

Hello everybody. I'm a [U]beginner[/U] and I need your help. I have a GUI programme and I need to make it run from an icon on the desktop. can you help me with an easy way to do so?

Member Avatar for JamesCherrill
0
83
Member Avatar for kelela

Please Help me!!! I know this is a stupid newbie error, but I am a newbie. My program compiles and runs, but I can't get the interestP and the principalP to pass to the other class to fill the graph. I have worked on this non-stop all day. [code] import …

Member Avatar for JamesCherrill
0
148
Member Avatar for and12

1. My code runs but the text panels won't display properly in the panel until i hide the frame and open it again or click min/max. 2. Can someone suggest the kind of layout i need to keep letters of each word together so it doesn't wrap to the next …

Member Avatar for and12
0
113
Member Avatar for nateuni

Hi Guys and Gals, I am new to programming and I decided to write my self a simple class to help me with my uni work. It is just to save me writing to screen then using the scanner class to read the input. It would be easier with a …

Member Avatar for nateuni
0
1K
Member Avatar for llemes4011

Hi, school started back up the other day, and our first assignment (as a group of eight) is to create a Server/Client project that is used to play network games. Before I go further, I want to say that I HAVE done work on this, quite a bit. I just …

0
70
Member Avatar for Andrieux

I can't run .exe's, so I can't install JRE 6u15, even though it's harmless. Can anyone zip their jre directory and upload it for me as a .zip (not a .rar) file? I'd really appreciate it.

Member Avatar for quuba
0
70
Member Avatar for Majestics

[code] import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.Robot; import java.awt.Event; import java.awt.AWTException; public class keyboard implements ActionListener { int i; String s[] = {"esc","F1","F2","F3","F4","F5", "F6","F7","F8","F9","F10","F11","F12", "psc","slk","pau","A","B","C","D","E", "F"}; String g = ""; Object b; JMenuBar m = new JMenuBar(); JMenu m1 = new JMenu("File"); JMenu m2 …

Member Avatar for Majestics
0
187
Member Avatar for kapmsd

Hi guys!! I am intended to develop a project in JSP. I am gonna use [I]NetbeansIDE6.5.1[/I] and [I]mysql[/I] in [I]Linux[/I]. I have few doubts: (i)[B]Uploading files[/B](eg:jsp,war et al) to the server. (ii)[B]Code to extract .war[/B] files to a folder in the server. (iii)Using [B]https[/B] for login forms. Thanks in advance …

Member Avatar for peter_budo
0
84
Member Avatar for hajjo
Member Avatar for shanakaprabath

[code]class AC { int ID; String name; int AcNo; Date ODate; double balance; double transaction; AC(int ID,String name,int AcNo,Date ODate,double balance,double transaction) { this.ID=ID; this.name=name; this.AcNo=AcNo; this.ODate=ODate; this.balance=balance; this.transaction=transaction; }[/code] this is my main class i want to write those data which are relevant to those variable variables in an …

Member Avatar for javaAddict
0
87
Member Avatar for TheWhite

Ok, this one is a little tough for me to explain. I have a runnable jar file that contains a .exe that I'm trying to exec in my program like a command line function. Usually to execute a .exe in a command line I would do: C:\"path to .exe" -option …

Member Avatar for TheWhite
0
2K
Member Avatar for moyphus

Hi To All, I have an equation in string like this ((BASIC+HRA)*(30/100)) Using replace function Now i replaced this into values... String formula = ((10000+3000)*(30/100)) whole thing as a string now 'Formula'... How can i calculate this formula float amt = formula; Now i have an error...type casting....i can't calculate …

Member Avatar for javaAddict
0
165
Member Avatar for latinajoyce

i need to add this criteria to my program: "if the user enters a last name in small letters the program should display the surname with the first character in capitals" Can some1 please help me with some examples for this?? i really need it.. thank you guys :)

Member Avatar for JamesCherrill
0
195
Member Avatar for moonis.ahmed

Hi, I have the following jsp file which receives an audio file from the form. I am receiving the form data as Multipart and saving the uploaded file as temp.wav. The uploaded file is in uLaw audio format. I want to convert it to PCM format and save it as …

Member Avatar for peter_budo
0
133
Member Avatar for ganesh5155

hi all i need ur help to solve this problem 1. write an algorithm to find the average of there number called a,b,c 2. write an algorithm to add up all odd numbers between 0 and 100 3. what data type for (i) True ] if data type for 123 …

Member Avatar for ganesh5155
0
136
Member Avatar for namratakakkar84

Hi I have made a program in which a servlet page is called by html page. The problem is that whenevr control goes on to servlet page it shows that the servlet page does not exist. I am deploying my application on tomcat and I am using MS-ACCESS as database. …

0
58
Member Avatar for chuppy

hi guys..i need help with my assignment..hpoe u can help\ A credit card company charges its customers monthly interest for any unpaid balance. Assuming that you owe the credit card company some money, you have decided to stop using the card and to pay off the debt by making a …

Member Avatar for ithelp
0
69
Member Avatar for mithunthakkar

hey friends, im getting this error illegal state of expression plz help me wid this Connection db = DriverManager.getConnection(connectURL); Statement stmt = db.createStatement(); String c = request.getParameter("criteria"); String a = request.getParameter("value"); ResultSet rs; if(c.equals("BillNo")){ --error-- rs = stmt.executeQuery("select * from orders where billNo="+a+); }else if(c.equals("UserId")){ --error-- rs = stmt.executeQuery("select * …

Member Avatar for mithunthakkar
0
140
Member Avatar for alsoumhi

Hi experts, I have finished writing my servlets and web pages. all my servlets tested using tomcat in windows operating system. In other words , I have finished the development stage. Now I need to move all my servlets and web pages to web server for deployment. but my web …

Member Avatar for alsoumhi
0
156
Member Avatar for idgirl

on line 40 I have: public void start That is the only thing that is showing something wrong. I have addad, curly brackets with no luck and when I put a semi colon at the end everything after it shows an error. The programs opens the applet but does not …

Member Avatar for VernonDozier
0
113
Member Avatar for javaAddict

Hi here is another question: I searched the internet for information about the radio tag, and this is all I found so I put it in my code [CODE] <s:radio name="..." list="myArray" /> [/CODE] The above displays all the elements of the array with radio buttons. My problem is that …

Member Avatar for sangyl
0
3K
Member Avatar for tomo_uni

I am writing a seprate driver class for my programme, but I need to know how to add two panels to the jframe. Any one help?

Member Avatar for sneaker
0
213
Member Avatar for tomo_uni

How do i create a array of 100 JLabels (all of them being the colour blue) and then insert them ALL into a seperate JLabel? Tom

Member Avatar for Ezzaral
0
51
Member Avatar for latinajoyce

i have to code a program that ask for the user to enter a positive integer and then I have to find if the value that was enter is divisible by 11 (with no remainder) and display "yes" if it is divisible and "no" if it is not. <<My program …

Member Avatar for latinajoyce
0
96
Member Avatar for TheWhite

[CODE=JAVA] String line = "Extracting from E:\\Junk\\morejunk\\file.txt"; System.out.println(line); //prints: Extracting from E:\Junk\morejunk\file.txt String[] splitPath = line.split("\\"); //exception thrown here String folder = splitPath[splitPath.length-2]; System.out.println(folder); [/CODE] [QUOTE]Exception in thread "AWT-EventQueue-0" java.util.regex.PatternSyntaxException: Unexpected internal error near index 1[/QUOTE] My objective is to always print the folder containing the file being extracted (morejunk …

Member Avatar for quuba
0
1K
Member Avatar for stonkers

I did some JSP development a few jobs ago (7 years ago) and remember having the toughest time with jsp debugging especially. I used JBuilder back then. I'm getting some jsp stuff going again in this job and was wondering if you could give me opinions on the best tools …

Member Avatar for stonkers
0
304
Member Avatar for nonhlah

I need help , I want to save article in the database but i cant read the text from the file to the database where i have a body column for the content of that article Plz help my assignment is due on monday , by the way I am …

0
64
Member Avatar for jooa

Hi, I have written some code which when a mouse is clicked, a red circle is drawn at that position. The x,y coordinates are stored in an ArrayList. What I now want to do is enable the circles to be selected and then dragged. When the mouse is released the …

Member Avatar for jooa
0
2K
Member Avatar for jooa

I have written a program which allows the user to click on the screen which draws a circle and when the user clicks on the circle again they can drag it around. My code allows the circle to be dragged it still displays the original cirlce and draws the path …

Member Avatar for jooa
0
1K
Member Avatar for jooa

I am implementing an FFT class. I get the pixel data from an image then pass this to the FFT class. Once I apply the fast fourier transform to the array the result is an array of complex numbers. At the moment I convert the array of complex number to …

0
71

The End.