32,204 Topics
| |
Im trying to have put in a list of 10 CD's (with informatiom, not just blank ones) that will ready be in the list before the program even runs. I obviously am new to this, so i dont know what to do. Any help? THANKS! This is my program this … | |
Hi there. As I said, I'm a newbie to programming and writing code. I'm at home working on a lab project but keep getting a compilation error and I don't know how to fix it. Any help would be greatly appreciated. Here's my code: public void add(int i) { int … | |
I have to write a program that mimics a digital clock w/ seconds, minutes, and hours. I'm sure I can get the displays working on my own and everything. My concern: what is the most efficient way to check the time? Should I just do Thread.sleep for 1 second then … | |
I need to make a simple refresh button for a gui java program I have the button made I just am not sure what the code needs to be to make the button work. Any help would be really appreciated. | |
how do i create java code that randomly assign numbers to letters, sum them, display them and store them in a database | |
I would like to programmatically convert existing Word and Excel documents into TIFF or PDF using JAVA without having to open the Office document (too slow). Are there any Office 2007 tools that could work or other 3rd party tools. The JAVA conversion program will run on Windows 2003 based … | |
I have written a program in java for RSA algorithm to encrypt a string and decrypt on receiver side. RSA public key and n value are announced to receiver by sender. Then encryption process begins. The RSA program in sender side returns BigInteger which is the encrypted string and I … | |
hey guys, I have this program that calculates the wind chill temp, But I have a little problem. The air temperature `tAir` should be less than 10 and the wind speed `wSpeed` should be over 5. So I need to keep asking for a new input from the user UNTIL … | |
Hi I'm having trouble with this program I am working on. It is to simulate a grocery store. The program will read in a file which is called inventory.dat the file will have items in it like: 11012 gallon-milk 1.99 F 11014 butter 2.59 F Then a customer will input … | |
I am doing a project in which i need to find the coordinates of a red laser dot on a screen. The screen can be plain or the desktop can be projected on a screen. Kindly tell me how do i detect the red spot? Thank you in advance. | |
Hi I am trying to connect a database through Java. I have written a program and it throws exceptions.I am not so strong in java and database connections and I am a newbie. Please anyone help me as soon as possible as its urgent!!! [B]Here is my program:[/B] [code] import … | |
Hello Java Programming experts. I need assistance with the following excercise: You have been hired as a Java programmer by Real Estates Solutions Inc. Your task is to write a Java applet for their web site that would enable customers to figure out their monthly mortgage payments. The applet input … | |
I need to read the last name and five grades for 10 students from a file and calculate the average of the grades and display that information in a file. I am pretty sure I know how to tackle this, but I have no clue how to separate the name … | |
Hello, Im trying to make jLabel component start default system browser and go to the specified page. I've tried to do this by adding listener to the jLabel and this part works fine, i have the problem with starting up the browser. I have only found system specific ways to … | |
My assignment is as follows. Create a class called PursePile that can hold any number of Purse objects. The class should have the following methods: public void add(Purse p) //adds a purse to the pile public Purse findAPursesWith(String coinName) //searches the pile until a purse with the given coin is … | |
I have a slight problem here. I am writing a program that reads in a lot of hurricane data. As you can see in my code, I have read in information from the hurricane category array(this array keeps track of what category each hurricane was). I am trying to figure … | |
hi, the book always have code like this for the beginner .. [code] String status="yes" do{ ...... }while(status.equalsIgnoreCase("yes")); [/code] what if the user enter y? or mistype "yes" to "yse"? the program crash... we can of course use if and else if and else or the switch statement's "default" to … | |
is it true There is constraint in java while using a public , that a file with Java source code can only contain one public class whose name must also match with the filename | |
im trying to program a JAVA GUI but after i compile the code and try to run it i get an error message. i then downloaded a program i made at college and i get the same problem even though it ran at the university. [B]Heres the Code[/B] [CODE]import java.awt.*; … | |
Hi, I am sending a oval shaped ball across a screen and use the repaint() method controlled by a timer to move it. [ICODE]public class Court extends JFrame implements Runnable { private int x = 10; private int y = 200; private int r = 3; /** Creates new form … | |
I am working on a project which requires to display image dynemicaly by selecting the JTable record. At the First time selection Image displayed. BUT when i click on another row of JTable Image can't Update i use repaint method also to drow again the Panel but it can't works. … | |
:) Hey Guys, I'm a newbie poster here and I'm new with java. . I made a GUI of a simple calculator,the problem is I don't know how to put events on the buttons of my simple calculator. . Can you please help me with this problem? Here's my code … | |
I need someone who can tell me where can I get proposed Java project for online practice. Please..I read many theory books and now I want to learn practicing. Thank you! | |
I have the following code it works for mpg files But it grabs every frame of video I want to grab Single particular frame or/at particular time plz help me and post the modified code Its urgent Code: import java.awt.*; import javax.media.*; import javax.media.control.TrackControl; import javax.media.Format; import javax.media.format.*; import java.io.*; … | |
I am new to java and need some help.How do I write a java program to develop a server which logs into another machine using ssh? I have to develop a server that logs into another machine using ssh and executes a command- "free". This server, running on a linux … | |
I have to make a program that simulates a shopping cart, I have it done, it's just that the shopping cart wont print. Please help me in fixing this, this is due for me tomorrow and is worth 40% of this chapter grade. The files are attached below. The main … | |
Hello, I need help on this project for school. My instructions are "Write a program called OfficeAreaCalculator.java that displays the following prompts using two label components: Enter the length of the office: Enter the width of the office: Have your program accept the user input in two text fields. When … | |
I was wondering if someone could tell me if it is possible to take the navbar I made for the website, [URL="http://www.rcamodels.com"]Website[/URL] which was created using Dreamweaver and Fireworks, and convert it to CSS. What I am trying to do is convert the site to mainly CSS. I'm not looking … | |
I posted with a program problem yesterday and couldn't get anywhere with all my errors. So I started over with a new program this morning and now have an infinate loop and a couple of questions about what is going on. My program is suppose to ask for total sales … | |
I'M MCA STUDENT I WONT TO DO THE PROJECT IN JAVA. SO TELL ME SOME JAVA ORIENTED PROJECTS.PLZ HELP ME CHOOSING THE PROJECT AND HOW FAR I GAIN USING THAT PROJECT........ <snip fake signature> |
The End.