32,204 Topics

Member Avatar for
Member Avatar for nanosani

Can anyone please tell me how can I divert my keyboard inputs to any file or any string ... rather than the monitor ... can anyone code a sample statement for me thanks ..

0
64
Member Avatar for nanosani

While reading a topic in my book on comparison between java and c ++ ... I read one difference ..... java statements can be labeled while c++ statements cant be. Can anybuddy tell the use of labeling in java?

Member Avatar for nanosani
0
174
Member Avatar for ZEEPLE

Hello, This may not be the right forum for this but here goes...I am a student and am taking programming classes( JAVA ). It seems that I can compile my programs but cannot run them. My professor said my path was incorrect and gave me the correct path settings. I …

0
119
Member Avatar for kelvin

Exceptions : Practical 12 please help me with this prgram. This lab is taken from the final NCC assignment of June 2004 Design, implement and test a java program that: - asks a user for a five-letter word and then - generates all the three-letter words that can be made …

Member Avatar for nanosani
0
65
Member Avatar for lore00

desperate need in help on how to do this! To design a class model to represent a simple air traffic controller scenario. Itz not necessary to consider any specific implementation details Air traffic control system: which organises and regulates the process of landing aircraft at an airport. The system has …

Member Avatar for nanosani
0
815
Member Avatar for bobinson

Hi, Pls how can I draw a table on a panel with java.The table with five rows and ten columns. Thank you. Bobinson.

Member Avatar for nanosani
0
121
Member Avatar for dirtcar31

someone please help me get rid of html 37049 need some kind of help some where to go to free down load to get this thing gone

Member Avatar for nanosani
0
69
Member Avatar for OurNation

Can some one write me a code that would genarate numbers in a certin pattern? The pattern starts with 1 the next number 11 meaning the last number had one one the next number is 21 meaning the last number had two ones. Is it possible to make a program …

Member Avatar for cosi
0
164
Member Avatar for asdfgh

Hi i'm pretty new to the whole java thing with basic skills in the non graphical parts of java and some limited swing skills. There's this thing about threads that's sorta irritating me. I would like to know.....if this is possible....how i can run multiple threads in the same class …

Member Avatar for asdfgh
0
189
Member Avatar for freckles

i have some problem on my puter, i cannot view javascript links such as this one 'javascript:rep(12972)' when i click on such a link the browser is unresponsive, right clicking /open in new window brings me to the 'this page cannot be displayed blurb'... the java installation enabled on my …

Member Avatar for cosi
0
122
Member Avatar for sunny_b

hi guys can you help me with sum questions for my project im struggling with these four questions. thank you wat are "formal parameters" and "actual values"? and how do we pass data into a function using parametrs Write the sub definition of a function called example1 which uses two …

Member Avatar for nanosani
0
122
Member Avatar for macca1979

Not sure if this is the correct forum to post this question. I've just downloaded the free jbuilder foundation application. I've used an earlier version of jbuilder(1.01) and when I create a new project, I simply add the files I need to the project, make the project and then I …

Member Avatar for nanosani
0
103
Member Avatar for freesoft_2000

Hi everyone, I would just ask a question is that can the java programming language be used for commercial uses without any royalty is there any kind of distribution strings attached ( i can charged money for my program and not distribute for free)? Can someone please help me answer …

Member Avatar for Cain
0
162
Member Avatar for bobinson

Top of the day to you guys out there! Kindly assist in this program.It's made up of six textfields and a button on a panel.it should work in such a way that the fifth textfield displays the sum of the values entered into the first four on pressing the button.Also,the …

Member Avatar for bobinson
0
145
Member Avatar for freesoft_2000

hello everyone, can anyone show me any good links on the web where i can get good information about the java swing and awt package event handling. My event handling is very bad as the last java sdk i learned was sdk 1.0. It was a very long time ago. …

Member Avatar for avinashjava
0
161
Member Avatar for kitty_kate

Hi my name is kate. im having some difficulty with my java project. i struggle alot with java and this would be my second attempt at completing this project :sad: . i would be very grateful for any help any one could provide. here is a link to my task. …

Member Avatar for cosi
0
83
Member Avatar for michelle13

/**I commented everything out dealing with the word count so it works. The problem is that I am not able to read what the file name is. It does not catch the file name, but it prints out the contents of it when it goes to the catch **/ import …

Member Avatar for cosi
0
173
Member Avatar for Bill T

I have a stopwatch program and the last of the code has to be a static class can someone help running out of time. I've tried all i know examples aren't helping. Here is the code I've written. I hope someone can help. TY... // import java.io package and utility …

Member Avatar for Bill T
0
136
Member Avatar for Dysall75

Hi, Can anyone outthere help me? None of my Javascripts are working on Internet Explorer on any of the websites that I go to. Also, when I click on Search, nothing shows up on the left side of the screen. I have Internet Explorer 6 with Service Pack. Yes, I …

Member Avatar for durocherj
0
246
Member Avatar for i_me_roo

Hi, This may be a really basic query, but im not really a java expert! In my program, i am drawing rectangles and the colour of the rectangle depends on a number stored in an array, so if the number is 1 then i want to set the colour to …

Member Avatar for cosi
0
123
Member Avatar for srthomso

I have some code which examines an array to see if it contains a particular value: boolean found = false; int []a = new int[100]; populate(a); // populates the array a with a set of random values int valueToFind = 123; // or whatever we want to find while((n < …

Member Avatar for srthomso
0
326
Member Avatar for srthomso

Could anyone give me a hand with my mock exam, i'm on msn - [email]get_jiggy_widit@hotmail.com[/email]. I'm struggling a bit - with some of the simple things really n it's getting on my nerves. Any help would be greatly received. Thanks Steve

Member Avatar for srthomso
0
134
Member Avatar for srthomso

code: public static void menu(){ String reply; System.out.println("Make your choice:"); reply = getLineFromUser(); //assume this function works correctly if(reply.equals("play")){ playgame(); } else if(reply.equals("end")){ stopGame(); } menu(); // recursive call. Don't use!!!!! Any ideas? i struggle with while loops at the best of times.

Member Avatar for bvvkrishna
0
146
Member Avatar for teritori

hi everyone -In the code below, the line marked by *** is where i read my text field. -The value of the text field is stored into a variable "InputUserName ". -My question is: What do i put in the place of @@@@@ so as to have the same variable …

Member Avatar for cosi
0
102
Member Avatar for Dark

Hi, if you don't know me my name is Dark, i need help with my assignment on Java. Could anyone help me. Here is what my project is about. [url]http://www.chevalier.nsw.edu.au/academic/computing/courses/sodad/axes.jpg[/url] :-|

Member Avatar for Dark
0
165
Member Avatar for roda

Hi, I have created an applet code. The code is normally working fine without IIS. I have IIS 5.0 installed on my Windows 2000 Server. My web site home directory is "C:\Inetpub\wwwroot". I already coppied the files to the correct folder. In the address box of Internet Explorer, I typed …

Member Avatar for roda
0
148
Member Avatar for tablet

i need an idea for a simple button game using java does anyone have any ideas

Member Avatar for cosi
0
121
Member Avatar for srthomso

I've come up with some code to try and reject ages outside the range of 18 to 64, but i cant seem to find my errors or how to fix it. Feel stupid as its probably somethin easy, but i'm just learnin the language, can you help: int age; age …

Member Avatar for srthomso
0
118
Member Avatar for jeril842002

i want a program where i can check for how one remains at a particular web page in a browser.

Member Avatar for cosi
0
82
Member Avatar for nanosani

how to make my frame as full screen. Is there any API that implements this in java.

Member Avatar for nanosani
0
146

The End.