32,199 Topics

Member Avatar for
Member Avatar for phani.n

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.

Member Avatar for dakkar
0
148
Member Avatar for nabil1983

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.

Member Avatar for jwenting
0
152
Member Avatar for phantomlady

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 …

Member Avatar for phantomlady
0
144
Member Avatar for jmozzie

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 …

Member Avatar for jmozzie
0
172
Member Avatar for ultimate_fusion

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

Member Avatar for server_crash
0
598
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
167
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
136
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
174
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
143
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
163
Member Avatar for janice_2k

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 …

0
82
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
110
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
182
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
206
Member Avatar for butterbloom

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!

Member Avatar for Arun Sewak
0
521
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
131
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
147
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
163
Member Avatar for Janistalis

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

Member Avatar for dlh6213
0
162
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
344
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
360
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
135
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
148

The End.