31,001 Topics

Member Avatar for
Member Avatar for ultimate_fusion
Member Avatar for ultimate_fusion

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:

Member Avatar for server_crash
0
179
Member Avatar for luisator

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!

Member Avatar for server_crash
0
136
Member Avatar for Black Knight

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

Member Avatar for Black Knight
0
166
Member Avatar for oberle1515

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;

Member Avatar for paradox814
0
132
Member Avatar for George2

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 …

Member Avatar for George2
0
173
Member Avatar for server_crash

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?

Member Avatar for server_crash
0
140
Member Avatar for Progmet

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 …

Member Avatar for lixf
0
162
Member Avatar for stupidenator

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?

Member Avatar for stupidenator
0
226
Member Avatar for Black Knight

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 …

Member Avatar for jwenting
0
109
Member Avatar for stupidenator

Here's a quick, stupid question... is it possible to make an executable file for Java Application? and if so, how?

Member Avatar for jwenting
0
181
Member Avatar for nabil1983

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

Member Avatar for tonakai
0
133
Member Avatar for server_crash

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 …

Member Avatar for server_crash
0
204
Member Avatar for ultimate_fusion

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 …

Member Avatar for server_crash
0
122
Member Avatar for Bud4java

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

Member Avatar for Bud4java
0
144
Member Avatar for bluesmiley

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 …

Member Avatar for paradox814
0
161
Member Avatar for nabil1983

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 …

Member Avatar for Nandus
0
258
Member Avatar for sham
Member Avatar for smudge

Hey there I am new to this game. I have to create a ball puzzle to display in a webpage it consists of a tube and 8 balls 4 black and 4 white the white balls are slightly larger than the black balls I need to be able to manipulate …

0
97
Member Avatar for jwenting

[B]Intro[/B] I've been fooling around with RMI today for fun and learning and got some serious headbanging when I couldn't get any of the examples I have in books by respected authors to work with JDK 1.5 (a.k.a. Tiger). All tutorials and examples on RMI say you should run rmic …

Member Avatar for meabed
0
359
Member Avatar for Gink

Is it possible to view the java classes source code or to get it somehow? I'd really like to see how some of the classes work if its possible

Member Avatar for paradox814
0
133
Member Avatar for nabil1983

Ok i've understood the use of arrays and most of it.... but my problem is no matter wat i do my program still only displays the last entry i make and not all. i've tried a for loop in the print method but no luck. Neone know what im doing …

Member Avatar for paradox814
0
147
Member Avatar for jengels

Can someone look at my program. I am having a problem with my Scanner line. Does anyone know how to fix this problem?? I keep getting an error at this part: letter = scan.nextLine(); [code] import java.util.Scanner; public class ATMdriver { public static void main(String[] args) { ATM atm=new ATM(); …

Member Avatar for paradox814
0
183
Member Avatar for sridhar_reddapa

The folloing question is my assaignment i never did network programming before after creating html page to access username and password how to read that information and can any one help me in writing cgi program for this assaignment Write an Java applet or Java application that can be used …

0
90
Member Avatar for George2

Hello everyone, I am wondering whether Java has asynchronized I/O (whether built-in core Java SDK or 3rd party release), which is similar as select or poll in UNIX. Current read/write will be blocked when underlying stream is not ready. For example, when retrieving data from remote machine, we will be …

0
61
Member Avatar for Bud4java

Greetings all, I'm having a little bit of trouble with writing a method that returns the value of a given function. The method is designed to accept an input (int b), then take the input and return the value of a. a = b + b^2 + 2^b I've gotten …

Member Avatar for Bud4java
0
92
Member Avatar for grifflyn

I have written this bit of code is ArrayList better than Vector and if so how do i change it ???? i am thinking where ever vector is mentioned to change it to ArrayList [code] import java.util.Vector; import java.io.*; public class V_All_Std_Record { private Vector main_Vector = new Vector(); public …

Member Avatar for jwenting
0
149
Member Avatar for buggytoast

WEll I'm kinda new to Java programming...but we got a major project coming up and I got stuck on one of the examples. This is for a validation code, to validate correct inputs....the errors are highlighted in red...Thanks to anyone that bothered to help :P I'm sure the answer is …

Member Avatar for jwenting
0
148
Member Avatar for ohnbabygal

hi my applet has two fishes swimmin in opposite directions. the user should b able to control the speed of the fishes. everythin else except the speed control is workin. what am i doing wrong?

0
75
Member Avatar for George2

Hello everyone, I want to print out the string "Hello World!" to console at a random interval, and the average length of the random interval is 1 minute when the string is printed out hundreds of times. Anyone know how to accomplish this? Thanks in advance, George

Member Avatar for George2
0
2K

The End.