32,199 Topics
| |
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 … | |
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 | |
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 … | |
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, … | |
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 | |
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 … | |
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: | |
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 | |
Anyone know when Sun plans to release 1.6 for Mac? I couldn't find an estimated date anywhere. | |
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 | |
[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 … | |
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 … | |
[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] | |
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 … | |
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 … | |
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 … | |
[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] | |
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 … | |
Hi, i want guidence for searching java faqs and materials.please help me | |
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 … | |
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... | |
| 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 … |
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. // … | |
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" … | |
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 … | |
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 … | |
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 … | |
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 . | |
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] … | |
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 … |
The End.