32,204 Topics

Member Avatar for
Member Avatar for George2

Hello everyone, When reading from a socket, I got error, java.io.StreamCorruptedException unexpected end of block data I only get it very randomly and very hard to reproduce. Does anyone encounter this before, any ideas? Should it be caused by server side (output stream is not flushed)? BTW: I program both …

0
75
Member Avatar for Taps

hello.. allCan any one guide me how shall I start with documentation for build.xmlI have to write document for build.xml which I have built.. but, I am not upto with good... idea and how to start up... with this document... Any one of you can just send me some Index …

0
56
Member Avatar for ffire

Hey whats up im pretty new here and new to java. I have no idea when it comes to methods. (this is my first java course so im completly lost) I have a test coming up and Im just trying to review. We got a couple examples of things that …

Member Avatar for ffire
0
98
Member Avatar for anti_genius

Hi, I am doing a research work on radio signal propogation in indoor environment. And i have to make a simulation for it. Can someone tell me that is it possible to make the following simulation in Java. What tools should i use. Or any kind of guidance anyone can …

Member Avatar for Phaelax
0
108
Member Avatar for anti_genius

Hi, Can someone tell me that how can i place a transparent image over another plain image in java. Thanks

Member Avatar for Phaelax
0
81
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
115
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
681
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

The End.