32,199 Topics

Member Avatar for
Member Avatar for VirusTalker

[ICODE] public static boolean member(Integer obj,SimpleList<Integer> l); // returns true if obj is a member of l, false otherwise { }[/ICODE] the question is how could I use recursion to show that there is a member of a list? I thought that maybe if (l.isEmpty()) {return false} else ? thanks

Member Avatar for VirusTalker
0
106
Member Avatar for adigha

hello, i need to create an applet for a "company", in which you log in, and according to your possition(ex: worker, manager) you can see and change different objects such as sallery and the abililty to fire people. im completely stuck on the login part, i have the gui set …

Member Avatar for PoovenM
0
194
Member Avatar for ITlang007

Hi everybody, I'm really new to java and I'm not sure how to do this, //Create an ArrayList of String type to hold first names of the students I created mine like this.... ArrayList<String> first = new ArrayList<String>();

Member Avatar for ITlang007
0
144
Member Avatar for -Observer-

Hi, I'm new to Java and I need help with the following if someone can help me: Write a program named Personnel that maintains salary information for the employees of a company. The program should display a text based menu, giving the user a choice of selecting a command. The …

Member Avatar for verruckt24
0
104
Member Avatar for animefun2
Member Avatar for vskumar19

I hav created an applet window.. now i want to disable d maximise button.. can u plz say me how can i do dat..??

Member Avatar for PoovenM
0
101
Member Avatar for java.netproject

Hi, Myself 24 yr old CEO of my own organization in Pune - India. We make Projects for BE / ME students in I.T, Comp, Complete Project delivery along with Project reports. So, choose a Project of your choice and relax for our experts to work for you You can …

Member Avatar for verruckt24
-3
147
Member Avatar for anez247

hey peeps..i got a problem in this project and will be grateful if someone can help pls..thx

Member Avatar for Ezzaral
0
100
Member Avatar for krhillery

So I've spent the past 2 hours trying to work all of this out, but I am still getting an error message that seems out of place. import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; public class HiLo extends JApplet { Image cardImages; /** * An image that holds the …

Member Avatar for krhillery
0
165
Member Avatar for Srinivas14

Hi can any one plz send me the java code for sending sms through some gateway plz reply this asap..or else plz assist me how to proceed.. Thanks, Srinivas

Member Avatar for stephen84s
0
322
Member Avatar for krishna168

Hi, I tried to place Ad in one application with IE explorer browser but it is coming error when i tried to place ad with Mozila Firefox.Pls help me why it was not happeneing.

Member Avatar for masijade
0
29
Member Avatar for NewbProgramma

I'm coding for fun and I can't figure out how to compare two string in an if (string1 < string2) type statement. I figured if I could somehow get values for those strings it would be easy to do the if statement. All help is highly appreciated : )

Member Avatar for verruckt24
0
110
Member Avatar for littlebean21289

I have had to miss my last classes due to having to go to my doctor in order to prep me for surgery. My professor has placed the final assignment online and i have no where to begin. I'll take any help and would like to add that while i …

Member Avatar for BestJewSinceJC
0
147
Member Avatar for cproud21

I have the following code that produces an applet of two eyeballs. I have a mouseMotionListener that is set so that when the mouse is moved around the pair of eyes, the eyeballs follow the pointer. I have the eyeballs set up in four locations. To the left, right, north, …

Member Avatar for BestJewSinceJC
0
156
Member Avatar for zigpy_siva

hi I am creating an CSV file in java by putting the Korean values in a properties file like "\uc81c\ubaa9 \uc18c\uc2a4\uc5d0\uc11c \uc5b8\uc5b4" [B]which is properly coming in the CSV file (like "번호 출판물의") when I open it in the notepad and select the font as Arial Unicode MS[/B], but when …

Member Avatar for zigpy_siva
0
611
Member Avatar for christiangirl

This program is all working except when a user chooses the same file as before it needs to show both orders in the file but it is only showing the latest one. [code] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; /** * Program that allows user to select a …

Member Avatar for christiangirl
0
136
Member Avatar for nikhath
Member Avatar for Ezzaral
0
32
Member Avatar for nikhath

Hi, i am developing a project on " Animation Data Structures Intelligent Teaching System". I am familiar with Core Java. I want to know what are the Concepts that i need to learn and that will help me in my project.

Member Avatar for Ezzaral
0
72
Member Avatar for aodpreacher

Hi i live in the new york area and does anyone know where in new york or have a look up resource on where to find java programming courses? anywhere to teach java during summer or during winter any place to look up information would be helpful..i tried google but …

Member Avatar for stultuske
0
112
Member Avatar for krhillery

[code]public Card getCard(int position) { /** * Gets the card from the specified position in the hand. * Null is returned if the position isn't in the hand. */ if(position>=0 && position < hand.size()) return (Card)hand.removeElementAt(position); else return null; }[/code] error message: return (Card)hand.removeElementAt(position); is highlighted, "inconvertible types"

Member Avatar for stultuske
0
107
Member Avatar for krhillery

import java.awt.*; import java.awt.event.*; import javax.swing.*; public class HiLo extends JApplet { Image cardImages; /** * An image that holds the pictures of all the cards */ public void init() { /** * This method loads the card picture and lays out the applet. */ cardImages = getImage(getCodeBase(), "smallcards.gif"); setBackground(Color.blue); …

Member Avatar for Ezzaral
0
269
Member Avatar for beginner21

alright.. i have a problem on how to sort the output my code is here: [code] public class Num7 { public static void main(String[]args) { char[] ch; ch=new char[20]; int i; for(i=0;i<ch.length;i++) System.out.print(i); } } [/code] the output is simply: [code] 012345678910111213141516171819 [/code] all i want to do is to …

Member Avatar for quuba
0
171
Member Avatar for nhal

Hi guys I was wondering if there was a java class that you can use to analyse an audio file, mp3, and get a unique string returned. If so can someone point me to the documentation. Thanks :)

Member Avatar for quuba
0
57
Member Avatar for Dan Bois

Hello I am new to java and i was woundering if someone could help me with this program. I was woundering how to put more balls into it and how to make the balls flash very fast almost like a strobe light. Please help thx. import java.awt.*; import java.applet.*; import …

Member Avatar for Ezzaral
0
65
Member Avatar for StephNicolaou

I'm not sure if I'm doing this correctly but up to now I get an exception error. Can you see why? : [code] public void countHeap(){ System.out.println("input data:"); for (int i = 0; i < dataSet.length; i++) { System.out.print(" "+dataSet[i]); count++; } noDataElements = count; formHeapTree(); } public void formHeapTree(){ …

Member Avatar for quuba
0
154
Member Avatar for alip15379

Hey everybody Hope you guys have a great weekend. I am trying to implement a Table ADT to show city name, country, and population. I already did most of the work, but for some reason i get a small error in the main method file.the code is below: //TestTable(main) class …

Member Avatar for quuba
0
188
Member Avatar for IMtheBESTatJAVA

Okay so the program I was asked to design requires the simulation of rolling three dice and printing out the outcome of each turnout while adding to a counter until all three dice are different numbers. So a sample output would be: 5 6 2 count: 1 or 3 4 …

Member Avatar for masijade
0
201
Member Avatar for thariqrasheed

Hi, Can u add numbers without using arithmetic operators in java.We can add using bitwise operators.But i m not able to get the ans. Solve: a+b=c; Prove 2+2=4 without using arithmetic opreations. Looking for u r answers

Member Avatar for stultuske
1
150
Member Avatar for dixi

Hi! I'm trying to define a list of objects that could be a binary tree or a Processtrees. The binary tree is already defined and works fine, don't worry about it. A Processtree is a binary tree generated by a Process, a Process is defined by a Name and a …

Member Avatar for dixi
0
138
Member Avatar for beginner21

hi everyone, can someone help me w/ this here is my code: [code] import java.io.*; public class Num2 { public static void main(String[]args)throws IOException { BufferedReader a=new BufferedReader(new InputStreamReader(System.in)); String comma; int r1, c1, r2, c2; int[][]cards; cards=new int[4][4]; for(int r=0; r<4; r++) { for(int c=0; c<4; c++) { cards[r][c]=(int) …

Member Avatar for beginner21
0
175

The End.