35,618 Topics
![]() | |
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 … | |
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){ … | |
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 … | |
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 | |
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 … | |
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] … | |
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, … | |
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? | |
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, … | |
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..... | |
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 … | |
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 … | |
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 | |
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, … | |
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 … | |
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 … | |
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 … | |
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. … | |
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! | |
[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. | |
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 … | |
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 … | |
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 … | |
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; … | |
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.*; … | |
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 … | |
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 … | |
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 … | |
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"); … |
The End.