32,199 Topics

Member Avatar for
Member Avatar for bluebird

Hello every body! I am writing a program that tokenizes a text file. I would like to tokenize a line into tokens whenever I found ".a" or ".b" or ".c". But I don't want to if there is only . or a or b or c. Is it possible to …

Member Avatar for solar
0
70
Member Avatar for Joncamp

In many languages (like PHP/Perl) you can execute shell commands, what package or method do you use in Java2 to execute a shell command? Thanks, Jon

Member Avatar for masijade
0
77
Member Avatar for Jarell

Hi all I'm sure you hear this all the time but "I'm a student who sucks at Java looking for help" My assignment is to (short version) Task Overview:You need to write five classes – Shop, Item, CD, Game, and ElectronicGame. The Shop stores a Vector of Items. The items …

Member Avatar for Jarell
0
115
Member Avatar for foxy xx

Hey guys i hope someone can point me in the right direction The problem I have just started my first year in computer science and have just recieved my first java assignment. I know its really simple but i just cant get my head round it, the worse thing is, …

Member Avatar for Bench
0
83
Member Avatar for mrwan

Hii every one I enter some interviews in java they give me codes to test them manual and write the output but they were very defficult i need some like that codes to train on them thanks

Member Avatar for mrwan
0
69
Member Avatar for mikki2

hi, i dont want it to seem like everytime i have a problem i come to this forum...but i just need to cover all bases b4 my exam in a month...thanks for understanding. my question is..is there any way to write the following program WITHOUT using a [inlinecode]while[/inlinecode] loop? i …

Member Avatar for mikki2
0
152
Member Avatar for karthiksk

am using Eclipse...i was told by my project head to write test cases using Junit... i installed and ran.. but i dont kno whre 2 write the test cases for that java classes ...can u help me...i was not understood it using faq.. regards ...karthik:sad:

0
71
Member Avatar for karthiksk

am using Eclipse...i was told by my project head to write test cases using Junit... i installed and ran.. but i dont kno whre 2 write the test cases for that java classes ...can u help me...i was not understood it using faq.. regards ...karthik

0
60
Member Avatar for Phaelax

Anyone know when Sun plans to release 1.6 for Mac? I couldn't find an estimated date anywhere.

Member Avatar for jwenting
0
105
Member Avatar for karthiksk

junit was install into C:\junit4.1 directry and set the class path as "C:\junit4.1\junit-4.1.jar" . but [B]still[/B] unable to run the test command [B]java[/B] [B]org.junit.runner.JUnitCore[/B] [B]org.junit.tests.AllTests[/B] [B]still[/B] it [B]will[/B] [B]give[/B] the [B]error[/B] as [B]Exception[/B] in [B]thread[/B] "[B]main[/B]" [B]java.lang.NoClassDefFoundError[/B]: org/junit/runner/JUni tCore

0
64
Member Avatar for lamees

[B][COLOR=darkred]hi every body, is there any one could help me:?: i hope so[/COLOR][/B] [B][COLOR=darkred]in brief,my problem is to solve linear programming problems using java.and finding the optimal solution,determine if the area is feasible, infeasible, or unbounded.in addition, graph the result.i have two variables and m of constraints.i think this problem …

0
67
Member Avatar for mikki2

hi just have a question to make sure i understand it. i'm doing the exercises in my book and it says i should create a program which will roll 2 dice and produce a random number then adds the sum of the outcomes. [code] public class RollDice { /* This …

Member Avatar for mikki2
0
113
Member Avatar for Amelia_25

[COLOR=#000000]Hello Guys![/COLOR] [COLOR=#000000]I am preparing for SCJP certification and looking for good study material on the Web like SCJP model tests, sample questions and tutorials etc. Please help me out by sending some links related to this certification.[/COLOR]

Member Avatar for woofytalk
0
64
Member Avatar for shingo99

hello i wish to have a sample program or a link of cpu scheduling application i need it to enable me to understand what is cpu scheduling so far i have search a lot of website and they do provided me a small fraction of the program but i wish …

Member Avatar for ~s.o.s~
0
111
Member Avatar for desi_programmer

Please help! I know I don't post here much, in fact, I don't post here at all, but this does not mean I am just some noob trying to get some easy code. I have been in programming for two years, and signed up to this website about the same …

Member Avatar for kulandai
0
101
Member Avatar for moodi24

I am conducting a research on the development of OLAP applications using JAVA language and SQL server Analysis Services 2005. For this, I am using XMLA for communication and also the SOAP API's. I have previously developed an application using sql Server Analysis Services 2000. Can any one tell me …

0
76
Member Avatar for deepak_patro

[COLOR=red][B]HI pals !:lol: [/B][/COLOR] [COLOR=red][B]i really need some projects and their details on java![/B][/COLOR] [COLOR=red][B]i think that u people will help me out![/B][/COLOR] [B][COLOR=red]so,waiting for your response!:rolleyes:[/COLOR] [/B]

Member Avatar for masijade
0
99
Member Avatar for upside10

I have a assignment with these requirements: Please begin stage 1 by writing a program that creates an output file. Name the file using your userid followed by .dat. For example, I would call my file “angelesm.dat”. The file should contain all of the multiples of 5 from 0 to …

Member Avatar for upside10
0
153
Member Avatar for vissu259
Member Avatar for DavidRyan
0
63
Member Avatar for Txs_Hunter

I am trying to write a program that will prompt a user for a number, any number. When they enter that number the user will then be prompted to enter that same number but in words. For example, if the user enters 3, the user will then be prompted to …

Member Avatar for jwenting
0
71
Member Avatar for aripaka

Is there any class in the swing package in java like the List View in the VB...Just to recall..the List View is one List box with icons ..best example is windows explorer...I was trying the possibilty to simulate the same in java...Anyone Please help me out in this...

0
54
Member Avatar for LSPUWILLC

This year I started learning Java in class and now we are making a Vending Machne code... I compleated the task, but now I want to add another buton, but I get stuck a a sertain point... Here is my original code with the second button added: import java.awt.*; import …

Member Avatar for LSPUWILLC
1
679
Member Avatar for mario_atl

This forum is excellent. I've doing this practice project in drawing PostalAddress GUI i created the jpanel and jframe also PostalAddress.java file but its sems i got lots of error every time i modify it please take a look and help me i've shown lots of effort thanks guys. // …

Member Avatar for mario_atl
0
264
Member Avatar for rpjanaka

hi these days im trying to use ANT build tool. but when runing a given example in ant documentation it will give an error build process is success when try to execute the following target [COLOR=Sienna]<target name="run" depends="jar"> <java jar="${jar.dir}/${ant.project.name}.jar" fork="true"/> </target> it will give the following error <target name="run" …

Member Avatar for jwenting
0
106
Member Avatar for gingergib

ok, i been tryin to get my head around this all weekend but im useless at it. i have the sollution but its saved to my laptop which i left in uni and is now missing!! but im trying to write a program which allows the user to input 3 …

Member Avatar for peter_budo
0
112
Member Avatar for iwlu

I'm not getting any errors but can't get the print out I should. Any Idea's? Pseudo code first, then Program Code, and the printout look; [B]Design, code and thoroughly test the following programming problem: A company pays its salespeople a base weekly salary plus a commission based on gross sales …

Member Avatar for peter_budo
0
148
Member Avatar for sarahavickers

Hi All, I am a total java novice and i am having a real problem running the following code: [code=java] import java.util.*; public class Methods { public static void main( String [] args) { Date independenceDay = new Date ( 7, 4, 1776 ); int independenceMonth = independenceDay.getMonth(); System.out.println("Independence day …

Member Avatar for peter_budo
0
105
Member Avatar for crestaldin

Hi everyone, Can somene please explain to me how to run a [B]telnet[/B] command using Java.I mean how can I achieve the following in Java : [B]telnet mailServer PORT[/B] (where mailServer and PORT will be supplied)...and subequently capture response from the server. Thanks .

Member Avatar for crestaldin
0
108
Member Avatar for laurentmas

Hi there, i'm trying to convert a C++ code about Hashtable in Java but i get these errors messages: - array required, but java.lang.String found & - array required, but java.util.Vector. Here is the C++ code first : [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] "Hash.h"[/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <cmath>[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#0000ff]int[/COLOR][COLOR=#000000] key;[/COLOR] [COLOR=#0000ff]char[/COLOR][COLOR=#000000] z;[/COLOR] [COLOR=#0000ff]int[/COLOR][COLOR=#000000] …

Member Avatar for laurentmas
0
1K
Member Avatar for mikki2

hi, i'm new to java (being studying for a few days now) and i'm stuck on the following program. it's supposed to bring up a screen and ask me to input a number...but it always say there's something wrong with the line [inlinecode]userInput = TextIO.getInt();[/inlinecode]. can anyone help me out...thanks …

Member Avatar for iwlu
0
95

The End.