31,001 Topics

Member Avatar for
Member Avatar for axiss

Well basically for the assignment I have to write a project that reads data from a .mdb database file and stores this data into a 2D array, then lets the user manipulate the data in the array (stuff like adding, editing, sorting, deleting and searching data) by using GUI and …

Member Avatar for axiss
0
259
Member Avatar for vn5ae

im currently in the middle of tryin to complete my dissertation for my masters in software engineering, and i need java code to analyse, i need to measure the complexity and the number of faults each class has. so i was woundering if any one can help me out by …

Member Avatar for mikeandike22
0
157
Member Avatar for copycat

ok i am doing a programe that can read a string eg, "Lordofthering" is there any way to break up the String into char?? i try StringTokenizer but fail. :cry: :cry: i need the result to be printed to text file: L o r d o f t h e …

Member Avatar for axiss
0
106
Member Avatar for ZEEPLE

Hello everyone, I am writing a program that is for a programming class..This program has to display syntax when the appropriate button is pushed..it also has a menu bar that must be functional. It must also run as an applet and as an application. The above is complete and my …

0
84
Member Avatar for macca1979

Hi there, First off I'm new to java and coding in general so please bear with me. I'm trying to write a bit of code that will convert something like the following con(pk(B),pk(AS),pk(A),B) to this k_B, k_AS, k_A, B I have written the following code : Pattern pk = Pattern.compile("pk(.*)"); …

Member Avatar for nanosani
0
123
Member Avatar for freesoft_2000

I have a text area and a button on a frame and there's some text in the text area. What i need is when the user clicks the button whatever the text in the text area is saved to the file "C:\ret" with the aid of the file selector dialog. …

Member Avatar for nanosani
0
180
Member Avatar for armann

I am trying to connecto to mysql database using RedHat 9 but always get a wonderful error message when I try to compile this code: Context ctx = new InitialContext( ); //Error is thrown here if(ctx == null ) throw new Exception("Boom - No Context"); DataSource ds = (DataSource)ctx.lookup( "java:comp/env/jdbc/xsmsDB" …

Member Avatar for cosi
0
161
Member Avatar for i_me_roo

Hi guys, In my program i have to draw rectangles, but i need to pause before drawing it depending on the the number it has been assigned. I have created a timing class, which pauses the timer according to the integer. I have used tested the timing class and it …

Member Avatar for nanosani
0
158
Member Avatar for nanosani

I'm in need of determining and implementing the LookAndFeel of the operating system default within a swing frame, whatever that default may happen to be (and without using the string "com.sun.java.swing.plaf..." in the code whatsoever. When simply leaving the UIManager.setLookAndFeel() as is when creating the frame, the correct OS default …

Member Avatar for nanosani
0
145
Member Avatar for nanosani
Member Avatar for nanosani
0
104
Member Avatar for zid

hey guys...... my name is zid.. ok here is the case....does any one know hows to initialize or activate a file in a client pc from the server....i've tried applet...but my boss was not happy with that coz...the comfirmation pop up windows apperead every time that applet loaded....is there any …

Member Avatar for zid
0
119
Member Avatar for Pimp Daddy

This book, which is written by David A. Wyatt and Deryck F. Brown is excellent for explaining some of the more complex aspects of data structures and gives plenty of examples of various different algorithms. It also explains a little bit of history behind some of things that are being …

Member Avatar for cosi
0
136
Member Avatar for nanosani

I want to control the power of my room from my computer. I want to add the circuit to my serial or game port. Can I make the driver for it in java (I know I can) but is it easier than any other language like vc. Any ideas?

Member Avatar for cosi
0
159
Member Avatar for freesoft_2000

Hi everyone, Does anyone know what a java manifest file is and how to create your very own manifest file. Someone please explain this manifest file thing to me in detail as l have no idea as to what a manifest file is and how to create one. Is is …

0
48
Member Avatar for alanhoney

Hi I need to put 2 x flash movies on a web page one to be shown from 12am - 12pm and the other from 12pm - 12am. Is there any java code that will do this ? Thanks Alan

Member Avatar for mikeandike22
0
77
Member Avatar for ZEEPLE

Hello All, I am creating a simple program that draws a simple house. My problem is I need it to run as an application as well as an applet from the same code..I think I am on the right track..Any help would be greatly appreciated check out my code to …

Member Avatar for ZEEPLE
0
180
Member Avatar for ZEEPLE

Hello All, Forgive my ignorance... I am creating a simple program that draws a simple house. My problem is I need it to run as an application as well as an applet from the same code..I think I am on the right track..Any help would be greatly appreciated check out …

Member Avatar for ZEEPLE
0
91
Member Avatar for nanosani

I am doing some very nasty computation using java but it always gives me a java.lang.OutOfMemory Error,after this nothing on the GUI works.i think its ok to have that error but atleast things should work afterwards. Please Advise

Member Avatar for nanosani
0
147
Member Avatar for freesoft_2000

Hi everyone, How does one convert the following a string to integer a integer to string a string to float a float to string a string to long a long to string a string to double a double to string I am trying to do a mini calculator. If someone …

Member Avatar for axiss
0
98
Member Avatar for nanosani

Any api function in java that allows a program to open and edit the contents(preserving the formatting of the file such as the font, size etc) of the file within a gui?

0
103
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
63
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
171
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
814
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
120
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
68
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
188
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
121
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

The End.