32,204 Topics

Member Avatar for
Member Avatar for jktallio

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 …

Member Avatar for stephen84s
0
93
Member Avatar for lovely_aly

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 …

Member Avatar for lovely_aly
0
88
Member Avatar for BestJewSinceJC

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 …

Member Avatar for Ezzaral
0
121
Member Avatar for jls7168

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.

Member Avatar for jls7168
0
160
Member Avatar for Nollyvenon

how do i create java code that randomly assign numbers to letters, sum them, display them and store them in a database

Member Avatar for Ezzaral
0
94
Member Avatar for easouza

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 …

Member Avatar for Ezzaral
0
108
Member Avatar for rlaknar

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 …

Member Avatar for rlaknar
0
111
Member Avatar for supermodel

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 …

Member Avatar for GDICommander
0
244
Member Avatar for yingfo

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 …

Member Avatar for arseniew
0
1K
Member Avatar for Thamizh Bharat

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.

Member Avatar for Thamizh Bharat
0
107
Member Avatar for rlaknar

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 …

Member Avatar for rlaknar
0
179
Member Avatar for tksrules

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 …

Member Avatar for stultuske
0
95
Member Avatar for ntredame

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 …

Member Avatar for ntredame
0
100
Member Avatar for arseniew

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 …

Member Avatar for arseniew
0
99
Member Avatar for neighbordave

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 …

Member Avatar for Ezzaral
0
226
Member Avatar for jdbarry

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 …

Member Avatar for VernonDozier
0
150
Member Avatar for k2k

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 …

Member Avatar for ddanbe
0
704
Member Avatar for lalchand87

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

Member Avatar for verruckt24
0
88
Member Avatar for Laidler

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.*; …

Member Avatar for Laidler
0
112
Member Avatar for Grub

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 …

Member Avatar for Grub
0
149
Member Avatar for hell_tej

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. …

0
74
Member Avatar for campuzcrazyness

:) 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 …

Member Avatar for stultuske
0
131
Member Avatar for tavy88

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!

Member Avatar for tavy88
0
100
Member Avatar for chetan_8187

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.*; …

Member Avatar for chetan_8187
0
487
Member Avatar for javac

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 …

Member Avatar for masijade
0
106
Member Avatar for Alishaikh

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 …

Member Avatar for Alishaikh
0
113
Member Avatar for rapture

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 …

Member Avatar for rapture
0
117
Member Avatar for neoseeker191

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 …

Member Avatar for ccube921
0
119
Member Avatar for tmoney7566

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 …

Member Avatar for Ezzaral
0
175
Member Avatar for stephenpeter

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>

Member Avatar for jbennet
0
91

The End.