32,204 Topics
| |
I am new to programming and I kind have got myself into a bet with a mate that i can create a basic program in three weeks. The program needs to be able to show a missile launching from country to country and exploding. It needs to miss about 40% … | |
I have a text file that looks like this, John, 27, Kids, Married Jane, 22, No Kids, Single and so on... I have read in the text file as seen below, Scanner scan = new Scanner(System.in); System.out.print ("Enter the name of the input file: "); fileName = scan.nextLine(); fileScan = … | |
hey all :) i locked some files using win rar and cant remember the pass lol, so heres my qu, can you make a password cracker in java for it, if so can someone tell me how stpe by step :). | |
Does ne one know how to answer this question? Discuss the truth or otherwise of the statement “Recursion and loops are the same thing". | |
Does anyone know of a Highlighter class I can use with JTextArea for HTML code? | |
wat exactly servlets are? how r they used in java? wat r the real benefits by using java servlets? give a detailed theory and example for servlets in simpler words. | |
Can someone explain this sort algorithm to me and how i can make a more efficient version, justifying the changes. for (int p = 0; p<n-1; p++) for (int counter = 0;counter < n-1; counter++) if (a[counter]> a[counter+1]) swap(a, counter, counter+1); Apreciate all help. | |
Hi, newbie question, Im trying to get a thumbnail picture on a html page to open a seperate (sized browser window (about 300/300 or so)-view Large version of the thumbnail. I'd like to specify a background image (if possible), but just trying to get an image to open first of … | |
I have until Monday at 3:00 pm to get this chat client working. I have been at this for 2 weeks, now. I have finally given in to asking for help. I'm trying to convert the following specs into code: 1. In the launchFrame method, you need to make the … | |
I have to read a file in format char, int string. I can easily do it in the form - int int, string e.g. 12 34 the cat sat on the mat(which is what I want to process and output) code below. [code] tokenType = inputStream.nextToken(); while (tokenType != StreamTokenizer.TT_EOF) … | |
just a quick question. I was wondering what java programme was on mobiles and what programme would you need to make a java file to run on a mobile??? thanks 4 :eek: | |
Hi everyone!!! I finally fixed all the errors in my application but now I get a main exception that I don't really know how many problems can bring. The message says: Exception in thread "main" java.lang.NoClassDefFoundError: sampleapps/tutorial/PrimerApp Thanx 4 your colaboration! | |
Is there anyway to listen to a bool value? I have a login window that has a loggedIn boolean value, I need to watch that value in the main thread so when it changes to true it returns to the main thread and loads up the rest of the program, … | |
Could someone explain parameters a little bit to me. I have to write a program that returns the difference of of two integers.(larger-smaller) I understand the basis class FindDifference { //Main method public static int difference(int num1, int num2) { int num1 = 10; int num2 = 4; | |
Hello everyone, I have heard that there are some offline technologies which can enable users to browse web site in offline mode. It can prefetch some information from the web site (for example, Yahoo map data for some specific cities) when network connection is available. And when in the future … | |
I know you can use j2me for programming on palm pilots and PDA's...At least I think! My question is, does it matter what make/model/ or specs the PDA has to be able to program on it, or be compatible with j2me? | |
I'm trying to read a xml file which contains two xml files in one file with java from a specific directory and then writing a response file with also two xml into one file which contains variables from the read xml file. XML Parser gives me an error "The processing … | |
Dear Gurus & Members, I am very new in Java. I wonder if it is possible to use Java to create a small application/plugin on my e-learning website that will record user's audio through microphone, save as .mp3 on the user's pc and enable user to playback the mp3s when … | |
I went to a Computer Science and Engineering Day at the University of Nebraska today and now I feel really motivated to program something. The only problem is, I don't have any idea of something to write. Is there some special trick to coming up with ideas for new programs? | |
Right, I have an app that basically copies images from a digi camera to the hdd, the user logs in and then it copies the images accross to the hdd and creates some thumbs and brings up a screen which has the thumbs so they can select what they want … | |
Here's a quick, stupid question... is it possible to make an executable file for Java Application? and if so, how? | |
Hello Everyone. Just a couple of questionsn i wanted to know. can someone explain what is meant by an index array and why its use can improve the efficiency of sorting? Can someone give me a more efficient verson of the sort algorithm below with reasons why its more efficient?? … | |
I have an application that has a fractal already drawn, but I have three JSliders that allow the user to zoom in out, shift the x axis, and shift the y axis. I think it's plotting around 160,000 points, and the refresh is quit noticible. I was wondering if there … | |
I uninstalled Java on my new Dell laptop. I realized I needed it back and did a system restore but now it is not working. Whenever I click on anything java, it causes IE to crash bringing up my desktop. Help! | |
I am making a game and need a hell of alot of varibles. it is all so GUI so I need alot of Jbuttons. can I do it like something what I have below??? char[] mine=new char[3]; for(int count=0;count<10;count++){ //String add = "one"+count; JButton mine[count] = new JButton(""); } heres … | |
Greetings all, I'm trying to use the Math.pow(2, b) in the following manner. The program prompts for a user input (int). It then takes the user int and puts it into a forumla that (amoung other things) computes the number 2 to the input's power. (Thus I'm using the Math.pow(2, … | |
can someone tell me why it is telling me that class Bomb doesn't exist because it does. here is my code: [CODE] import java.io.*; public class MineSweep1 { static BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); static private Bomb[] bmbArry1 = new Bomb[5]; static private Bomb[] bmbArry2 = new Bomb[5]; static … | |
Since I logged on to my computer 3 days ago, it showed that a registry file had been recovered successfully, but now Javascript has disappeares. I have tried a lot of the tips on here, but nothing works. What I really want to do is download the Microsoft Script thing, … | |
Hello. As i couldnt work out my problem with my other version, i re-wrote it in a totally different form, now my program does display all the entries i make,, but the problem now is how do stop the dialog box from keep coming up. For example: i input 2 … |
The End.