36,051 Topics

Member Avatar for
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
67
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
820
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
125
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
71
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
170
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
191
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
128
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
126
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
105
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
166
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
147
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
163
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
85
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
177
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
140
Member Avatar for aslpunkr

hi sorry to bother but i have a bit of a problem. i came home one day and i found this prosearching.com installed on my desktop and internet explorer bar. and i tried everything to rid of it. but nothing has work. i did wat someone told me to do …

Member Avatar for crunchie
0
292
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
248
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
125
Member Avatar for igel_x

Hi, I am currently developing a web program in JSP with Oracle 10g as the database. One of the features of the program is a simple search input and search result page. Our clients wanted to us to inlcude an "Export to MS Access" fuction on where the retrieved records …

0
117
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
330
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
136
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
149
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
106
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
166
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
151
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
123
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
124
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
84
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
149
Member Avatar for srthomso

here's the code: string reply; reply = getLineFromUser(); //assume this function works correctly if(reply == "JAVA"){ System.out.println("OK to continue"); } else { System.out.println("Error - try again!"); } i cant seem to see where i'm going wrong, thus cant get a correct version to work. I need it to keep repeating …

Member Avatar for srthomso
0
138
Member Avatar for steventhms

The following code will not compile n i'm a little stuck as to why - public class Question8{ static final int ROW_SIZE = 10; static final int COL_SIZE; public static void main(String[] args){ COL_SIZE = 10; ROW_SIZE = ROW_SIZE + 10; } }

Member Avatar for scordle725
1
104
Member Avatar for smartdetect

Ok...can anybody provide me with a sample code for the following: Its in java .It enables the server to detect the presence or absence of a keyboard or a hdd on a client m/c on a lan.The server is a winNT server. Clients run WinXP. If not the code can …

Member Avatar for nanosani
0
118
Member Avatar for supra

Hello everybody, I am doing B.Tech in IT. Extremely tensed about career oppurtunities. My campusing is just a year away. I must do some good projects on fields of my choice & that includes:- C, Java (core, Swing,AWT,threading), Linux(Posix, Bash Scripts),Oracle 8i, Networking, OS. I think somebody can give me …

0
60
Member Avatar for smartdetect

Which funcn of java do iuse if i want to communicate with a certain hardware and confirm its presence or absence:?::?::?:

Member Avatar for Iron_Cross
0
106
Member Avatar for sullivan745

Can't get some applets to load and run on my P.C. I have Java Runtime 1.4.2_05 and Virtual Machine 1.4.2_05b04. In Internet Options, Advanced Tab, I have Java (Sun) checked. Under the Connection Tab, LAN Setting, I have the Automatically Detect Setting checked. In the Java Plug-In Control Panel,Brouse Tab, …

Member Avatar for sullivan745
0
137
Member Avatar for bobinson

Pls help out,What about a JAVA program that could prepare A time-table,is it possible?I know its but I have not been able to figure out how. Bobinson.

Member Avatar for nanosani
0
89
Member Avatar for Bill T

Hi Again, Im writing a program of a version of stop watch that uses a varible instance also callcount must be used and start at 10 everytime called decreases by one until zero then messgae displayed. Can someone help me please!!!!

Member Avatar for nanosani
0
100
Member Avatar for arijit

I am implementing a project on Online book shoping system using JAVA & XML. But I am finding it very difficult to impliment it...My being new to Java is an added woe :cry: Plz can anyone help me...suggestions , codes ..anything...

Member Avatar for nanosani
0
137
Member Avatar for Elektro

hey everyone :confused: i have a new java task comming up and it involves making a game that impliments buttons. for this task i have started to build a golf game but everything i do seems to not work i keep getting stuc. bellow is a copy of my task. …

Member Avatar for nanosani
0
162
Member Avatar for redDevils
Member Avatar for rishiraj_bayerd

Hi all, I want to know how java connected to a Oracle database. Please reply. regards Rishi.

Member Avatar for nanosani
0
81
Member Avatar for branden1457

It worked before i added in the other 13 lines, but now it doesn't want to calculate. <html> <head> </head> <body bgcolor="#000000" text="#FFFF00"> <script language="JavaScript"><!-- function cent(amount) { // returns the amount in the .99 format return (amount == Math.floor(amount)) ? amount + '.00' : ( (amount*10 == Math.floor(amount*10)) ? …

Member Avatar for Iron_Cross
0
85
Member Avatar for Electronic Lady

Adaware, Spybot, Spywareblaster, Spysweeper, Xcleaner -- plus added Zone Alarm. My computer is still infected. Please somebody review the following Hijack This and advise me. Thanks!!!!! Logfile of HijackThis v1.97.7 Scan saved at 9:58:40 PM, on 8/4/04 Platform: Windows 98 SE (Win9x 4.10.2222A) MSIE: Internet Explorer v6.00 SP1 (6.00.2800.1106) Running …

Member Avatar for caperjack
0
370
Member Avatar for Vcrossley

Can someone help me to get this code to run. What am I missing. Any help is greatly appreciated. import java.io.*; public class Quiz { public static void main(String args[]) { int correctCounter; InputStreamReader reader; BufferedReader buffer; keyboard = new BufferedReader (new InputStreamReader (System.in)); } String seekResponse; System.out.println("Welcome to Hoffman …

Member Avatar for Vcrossley
0
138
Member Avatar for Dysall75

Javascript Problems On Win98 I am running Win98 and Microsoft Internet Explorer 6 SP1. Recently, I am having a problem with Java and my search window. Whenever I click search, nothing comes up on the search panel. I have not changed any of my setting in IE, but it will …

0
165
Member Avatar for aperez

used following in MS-DOSS command window public class Welcome1 { /*method*/ public static void main( String args []) { System.out.println( "Welcome to Java Programming!" ); }/*end main*/ }/*end class Welcome1*/ It was taken as an elementry example of a Jova pgm. I saved it as Welcome1.java and used the MS-DOS …

Member Avatar for Iron_Cross
0
125
Member Avatar for Hjays

write and test a class that can be used to create and object whose instance string variable can be initialised to a string constant such as: "I fined that the harder I work the more luck I seem to have" the class need to provide the following methods A method …

Member Avatar for Iron_Cross
0
177
Member Avatar for macca1979

Hey there, First off I'm really new to Java so please bear with me. I need to translate a line of text from one form to another. An example line segment has the following format: " step(sent(1,A,B,vars(Na,Rv,ped(pk(B),cat(N a,A)))))" This means that at step 1, A sends to B that which …

Member Avatar for Iron_Cross
0
197
Member Avatar for rita161

hi!!!!! i need help to improve my java knowledge.. im very weak in this programming subject n this is one of my important subjects tht im learning in college right now. please advice me or show me a way to start from scratch. thank u!!!! -rita161-

Member Avatar for rickste_r
0
105
Member Avatar for Elektro

hey anyone have any good ideas for a simple java program game. thankyou

Member Avatar for Iron_Cross
0
105

The End.