35,617 Topics

Member Avatar for
Member Avatar for psylocke

:?: hello everyone, id like to ask for some help. i am a beginner in Java programming. i am doing mastermind game using java. the whole logic of the game is already finished, and my ONLY problem now is :?: HOW will i be able to repeat the whole game …

Member Avatar for nanosani
1
99
Member Avatar for Naveen

hi all.iv been assigned a project to create rule sets for a database using using Java and Xml. i am supposed to create rules and then customize the rules as required into various modules. initially i am supposed to use a flat file but later move on to a DB. …

0
61
Member Avatar for evo

Does anyone knows is there any sample Java swing program that able to display records from database according to user searching option...

0
117
Member Avatar for maendeleo55

When tring to write a program using a class, my instructions is to request an imput of three numbers and then create a random class to generate three numbers, after doing so, i must determine if the random class highest number matches the highest number of the numbers instructed to …

Member Avatar for nanosani
0
144
Member Avatar for tayhui

Hi! Can anyone help me on the below java program? How to call the thread program - the parallel program? my program can only run in sequetial but not parallel... I need to write a program that will receive as input a single M x N dimensional matrix A with …

0
49
Member Avatar for nanosani

how can I change the attributes of a file as read only .. and hidden ....... and turn back to read write .. and visible?

Member Avatar for cosi
0
146
Member Avatar for ineedjavahelp

Why do I get this error? GUI3.java:13: GUI3 is not abstract and does not override abstract method actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener public class GUI3 extends JFrame implements ActionListener ^ 1 error please help me! thanks.

Member Avatar for cosi
0
91
Member Avatar for Squires

I need a little help connecting to a database in Java. The example in the book I have uses the following: [code] static final String JDBC_DRIVER = "com.ibm.db2j.jdbc.DB2jDriver"; static final String DATABASE_URL = "jdbc:db2j:books"; [/code] It goes on to use it: [code] System.setProperty("db2j.system.home", "C:/mysql"); Class.forName(JDBC_DRIVER); connect = DriverManager.getConnection(DATABASE_URL); [/code] First …

Member Avatar for GeethaAdhi
0
184
Member Avatar for Elektro

im compiling a who wants to be a millionare game and i am unsure where to start does any one have any ideas??? :mrgreen: thanks

Member Avatar for Elektro
1
101
Member Avatar for server_crash

I have been working on TicTacToe for some time now. I just now got it to work but it's not working properly. When somebody gets three in a row a label is suppose to show that a player has won but it does'nt. So I cant figure out why it's …

Member Avatar for server_crash
0
124
Member Avatar for izaki

i have a project is something like instant messaging, how to know who logged in and check wheather the user is in my userlist (e.g user.txt) Anyone can help me?

Member Avatar for Iron_Cross
1
162
Member Avatar for freesoft_2000

Hi everyone, I would like to ask if anyone knows how to load classes from a .jar file and what api i should be looking at. Could someone show me or e-mail me the codings of how to do this the right way. My e-mail is [email]freesoft_2000@yahoo.com[/email] Thank You Yours …

Member Avatar for nanosani
0
81
Member Avatar for Paz

I have a working Java application (command line input only) that I would like to adapt to run on a web server and accept input and give output to a servlet/JSP page. I am familiar with basic Java programming - am having trouble knowing what to do first. This seems …

0
59
Member Avatar for Rashid Riaz

Hello, I am new member here I need help with my program. I am trying to calculate interst for a loan I am not able to calculate last payment for loan like if loan amount is 1000 and interst rate is 18% which come up 1.5% for every month and …

Member Avatar for nanosani
0
118
Member Avatar for Cockney

Hi all new in this forum I'm facing a problem. I need to pass the contents of an XML file to a hash table. The problem is that for each key i have multiple values. i.e. <?xml version="1.0" encoding="utf-8" ?> <Menu> <File> <EN>...</EN> <FR>...</FR> <IT>...</IT> </File> <ShowHide> <EN>...</EN> <FR>...</FR> <IT>...</IT> …

0
113
Member Avatar for copycat

Can someone help mi I need to do a word count i enter a word e.g. superboymother it will search for the char a,e,i,o,u and return mi the result is: a=0 e=2 i=o o=2 u=o

Member Avatar for copycat
0
93
Member Avatar for Newbee

Hi, I am a novice in programming and need help in my mortgage calculation program. I have the GUI set up all functioning good the only problem I have is the calculation portion that is not doing its job. Can anyone please guide me how to correct my problem? import …

Member Avatar for nanosani
0
118
Member Avatar for gkakkireni

Hi to all i have requirment like this the field length is 15 digits but am getting input only 6 digits..means i have to put spaces after the 6 digits position menas spaces after the value.how to do it in java,could u send the sample programe . thanks in advance …

Member Avatar for Banderson
0
109
Member Avatar for modumass

hi all. i need to write an application class with a main method and a second method called tempCalc, and then in the second method put the code from a previouse temperature calculation experiment. but i have no idea how to do this. i read the part in "Sams Teach …

Member Avatar for Banderson
0
166
Member Avatar for akilbakari

does anyone know where i can get source code to write a java 2 program GUI that converts integers to roman numerals? i would appreciate it. my e-mail address is <<snip>>. by the way, here is my code: import java.io.*; public class Roman{ static final int values[]={1,5,10,50,100,500,1000}; static final char …

-1
219
Member Avatar for tablet

i have started to create a simple java game and at the moment i have done as much as i can possible at the moment the game builds with no errors. but it does nothing. what i want it to do is that the player enters a bid and if …

Member Avatar for nanosani
0
262
Member Avatar for ranyodh

hi to everyone.... I got a problem with queries.... before i tell my problem, please look at the is code - // employeeCode is ArrayList containing employee codes. String query = "SELECT Name, FatherName from Employee WHERE "; for(int i=0; i<employeeCode.size(); i++) { if(i == 0) { query += " …

0
73
Member Avatar for C#_Virgin

Hi, I'm new to this site so quite unfamiliar with how things work.... I have recently begun learning about C# and the .Net framework. As a java programmer, I found C# a good basis to start on. I wanted to change a lot of my existing code from Java to …

Member Avatar for Decency
0
164
Member Avatar for freesoft_2000

Hi everyone, I want to know how to print the contents of the text area including all its fonts to the printer. I have no idea how to implement this in awt. Could someone show me or e-mail me any sample codings on how the print functionality can be implemented …

Member Avatar for hivework
0
131
Member Avatar for teritori

hi there guys.Can anione please show me how to create a always on top frame.(no native methods)

Member Avatar for DeepZ
0
274
Member Avatar for nanosani

What is a Glass Pane ? and how should I use it ... please give an example. Thanks.

Member Avatar for nanosani
0
214
Member Avatar for freesoft_2000

Hi everyone, I am trying to load images in the canvas but it seems nothing gets loaded at all but the program compiles without any errors. It is actually a simple image viewer and have tried almost everything. Anyway here is my program and i hope someone can help me …

Member Avatar for hivework
0
858
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
265
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
158
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

The End.