35,618 Topics

Member Avatar for
Member Avatar for Alex Edwards

I'm having a small design issue with a Checkers game to be done in Java-- I'm not really worried about coding it, I can do that. The problem is listing out the dependencies between classes. For example, what should be responsible for what? IF I code the program with the …

Member Avatar for Ezzaral
0
2K
Member Avatar for caismirt

Hey everyone. In a nutshell this is what I want to do. I want to: - Allow developers to write code in C++ using non-latin based languages. i.e > use #define (or whatever) to specify a non-latin based character as a keyword/variable. e.g > Instead of (English): if(x < 1){ …

Member Avatar for Narue
0
162
Member Avatar for guravharsha

Hi, I have one jsp page containing 2o questions retrieved from table along with its possible four-option answer in this manner: [B]Question1: Option-a Option-b Option-c Optio-d[/B]All the options are in radio button form. I am trying to store the result of these question test in my final output table: [QUOTE]Structure …

-1
87
Member Avatar for nouryn

I Used to be a c++ programmer and now i'm starting to learn java all by my self so i need a help in how to get starting begging with compiler and IDE tools and the basic diffrants between c++ and java Thanks

Member Avatar for nouryn
0
156
Member Avatar for d4n0wnz

I'm trying to write a recursive method that will print a char c, x amount of times on the same line. I was thinking that I could return the recursive function call and concatenate the char c but I don't think my compiler agrees. What exactly are the properties of …

Member Avatar for Vilice
0
110
Member Avatar for Da24K

Write the definition of a method reverse , whose parameter is an array of integers. The method reverses the elements of the array. The method does not return a value So far I got: [code] public void reverse(int[] backward) { for(int i = (backward.length -1); i >=0;i--){ } } [/code] …

Member Avatar for bloody_ninja
0
682
Member Avatar for TheWhite

Hi. Well, the past year, I have spent learning GUI programming in Java and have created several games (Asteroids, MineSweeper, TicTacToe, etc, etc) in Java. I was wondering if there is an easy way (is it easy at all?) to go from what I know about GUI programming in Java, …

Member Avatar for TheWhite
0
686
Member Avatar for arch1

Hi! I am trying to do Junit testing with Eclipse 1) download and install Junit 2)set the class path. 3)test the installation by running java org.junit.runner.JUnitCore org.junit.tests.AllTests. i am unable to test my installation (Step-3) it gives me Error: java.lang.ClassCastException : class junit.tests.AllTests Is something wrong with classpath settings?

Member Avatar for natsuxia
0
38
Member Avatar for LevelSix

Write a simple graphics editor that allows users to add a mixture of shapes (ellipses, rectangles, and lines in different colors) to a panel. Supply commands to load and save the picture. Basically it wants a program with a buttons for New, Load, Save, Rectangle, Line, Ellipse, Red, Green, Blue, …

Member Avatar for Ezzaral
0
304
Member Avatar for jk_bscomp

Hello everyone!!! Does anyone here knows how to create a GroupBox in Java similar in VB.NET and C#. I hope you could help me with this one. YOUR HELP IS HIGHLY APPRECIATED.....

Member Avatar for Phaelax
0
89
Member Avatar for shaynicb25

I'm working on a program to keep track of a hardware store's inventory. For each item the item ID, item name, # of pieces ordered, # of pieces in stock, manufacturer's price and the selling price. The program must also print out a report. The program is menu driven and …

Member Avatar for Alex Edwards
0
118
Member Avatar for jack44

Hi there, i'm having trouble with creating the Pseudocode for my program, the program took me ages to complete with alot of help, i sort of understand what needs to be done, but could someone start me off as i'm unsure of how to begin:- [code]import java.io.*; import java.util.*; public …

Member Avatar for himi
0
137
Member Avatar for maingi

Can someone help me to write a program that can read and write to a file and then store the user input in the file using the Property and ClassLoader classes.Also when another person uses the program it should tell you the last person to use the program.Thanks in advance

Member Avatar for maingi
0
109
Member Avatar for thanaras

Hello. Possibly, this is the best java forum in the whole net. So i thought to ask. I want to capture video from a web-camera. So far, i have enabled the camera using JMF and i can see "inside" the camera. What i want is to capture video in GRAYSCALE, …

Member Avatar for enantiamorph
0
107
Member Avatar for romi_ch

Dear developers, I lay my apologies if my question do not relate to current category. I am new to Java and trying to build a Java web application where i can use beans (to configure a database connection as well as my database entities) and JSP to present data through …

0
59
Member Avatar for guravharsha

Hi All, Kindly give me some guidelines regarding below issue. I am developing Student feedback system to provide feedback about faculty to in institution. Now I have three tables in database: 1.Questionid containing column as id, questionid-description, type 2.event table containing column eventid ,eventdescription,questioned-description(contain same data as like questionid-description from …

Member Avatar for peter_budo
0
145
Member Avatar for flyerorange

Hello....I run XP, and up until a week ago, there were no problems with watching Youtube. Today, I get.....Hello, you either have JavaScript turned off or an old version of Adobe's Flash Player. Get the latest Flash player..... So, I downloaded the flash player, and it says success, but no …

Member Avatar for itdupuis
0
200
Member Avatar for Jaulm

This is my first post and I am new to this so bear with me...I am trying to write a program that will output messages to 1 or more text files. For example if I want to write to 3 log files, depending on what is happening in the code. …

Member Avatar for Jaulm
0
208
Member Avatar for ivay14

Hello! I would like to ask you guys something. I am planning to create Java Word Search Game which find words from the display board when highlighted...Do you guys know any good steps to start with....Please HELP!! Can anyone provide me with a good way to start with it....Thank U!

0
83
Member Avatar for hana rashid
Member Avatar for lordx78

[COLOR="Green"]Netbeans IDE[/COLOR] [COLOR="Green"]Eclipse IDE[/COLOR] [COLOR="Green"]IntelliJ IDEA[/COLOR] Which from the above the the [COLOR="Red"]BEST[/COLOR], [COLOR="Red"]USER FRIENDLY[/COLOR], [COLOR="Red"]COMPLETE[/COLOR] IDE to use to design/create GUI for Java based programs. Please advise. Thanks.

Member Avatar for vidaj
0
139
Member Avatar for zyaday

I have a programm that runs an applet. It loads a series of images and paints them. The problem is the programm seems to not to paint the images in the same order..or rather it skips some of the images....what can i do? I tried using the udate(screen) function but …

Member Avatar for Netztonia
0
104
Member Avatar for twgood

I am not getting error messages, but it is not doing what I ant it to do..here is the assignment: Modify the Inventory Program by creating a subclass of the product class that uses one additional unique feature of the product you chose (for the DVDs subclass, you could use …

0
91
Member Avatar for JConnor135

Can someone please help me find out why I am getting a nullpointerexception for this code. Ive been racking my brain and cant find it for the life of me. The program is supposed to delete an element from the linked list that is built in the main method and …

Member Avatar for Alex Edwards
0
272
Member Avatar for JConnor135

For this code to delete an element from a linked list how do I get the head to point to the first element in the list(which is 0)? [ICODE]public class IntNode1 { public int item; public IntNode1 next; public IntNode1 head; //////Constructor/////// public IntNode1(int item1, IntNode1 next1) { next=next1; item=item1; …

Member Avatar for Alex Edwards
0
277
Member Avatar for Moth126

I'm having a problem with my assginment. This is the Java Number Guessing Game. It compiles and runs with no errors but when executed it stops with only one user input. You must hit the "Play Again" button to continue. Here is my code: [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; …

Member Avatar for sciwizeh
0
79
Member Avatar for shaynicb25

I am working on the following Java application Write a program that allows the user to enter the last names of five candidates in a local election and the votes received by each candidate. The program should then output each candidate’s name, the votes received by that candidate, and the …

Member Avatar for Alex Edwards
0
2K
Member Avatar for iSoftware

Hi, I have a HTML page with a form in it. I need to pass a parameter to my Visual Basic application if the signup was successful. My HTML form is simple: [CODE=HTML] <form action="signup.php" method="post" name="signup" onSubmit="return signup();"> <!-- Some text boxes and check boxes --> </form> [/CODE] On …

0
64
Member Avatar for JConnor135

I am trying to write a program that will delete the nth element from a linked list. Before I was getting a nullpointerexception but I think I cleared that up. Now I just get a repeating error message that I put in the code for when the list goes to …

Member Avatar for JConnor135
0
273
Member Avatar for insauciant

what is wrong in following code [code] <form name="log" method="post" action="login.htm"> <% try { //Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); //String url="jdbc:odbc:ODVS"; Connection conn=null;//DriverManager.getConnection(url,"downtime","downtime"); Class.forName("oracle.jdbc.driver.OracleDriver"); conn=DriverManager.getConnection("jdbc:oracle:thin:@10.10.10.2:1521:PLMDM","vvv","vvv"); String uid=request.getParameter("username"); String pwd=request.getParameter("password"); String sqlQry=("select * from USR_PASS_TB where username='"+uid+"' and password='"+pwd+"'"); Statement stmt=conn.createStatement(); ResultSet rs=stmt.executeQuery(sqlQry); if(rs.next()==true) { //response.sendRedirect("../HTML/index_group.htm"); %> <jsp:forward page="login_cae.htm" /> <% } else { //response.sendRedirect("..HTML/invalid_login.htm"); …

Member Avatar for peter_budo
0
59

The End.