32,204 Topics
| |
Hi all, I am new to java. I am writing a program and I would like to read some inputs from user, when the program is run. Can someone give me some hints on how can do this... Thanks. | |
Please i need help with a code that can help me add an item to cart take me to the next page and i will still see thesame item i choose on the shooping cart. | |
Hi there, I am experimenting with game design and have met an obstacle. I am trying to paint the background of this simple game I have coded but cannot seem to find out how! any help would be much appreciated! | |
Hello friends , i am jimm . I have some doubts regarding Java Basics. If anyone interested in Java basics..please help me out to find out the answers. What is a java source file ? can you please describe ? | |
I reterived a set of records from the database using a j2ee applciation. i want to delete a record in from the ones that are displayed. is it possible to delete just by clicking a button on the same page where the results are displayed? can someone help me on … | |
hi all, in the below code is used to open a file with its corresponding application.the file with application is opening but the data is corrupted. pls help to open the file without data corruption. advance thanks <% // fname is the file name String filePath=savefile; File f = new … | |
Hi all , I had created a Document using jTextPane which I will use as a Template to create customize ones . For eg : I will create something like this in a Document using jTextPane Hi [B][I][U]<name>[/U][/I][/B] and I will open this Document in another jTextPane to replace <name> … | |
Hey i want to create a [B][U]vector[/U][/B] in order to store circles in it. i did something but im getting a warning error "java uses unchecked or unsafe operations" if anyone knows whats going wrong let me know thanks in advance! [CODE] import java.util.Vector; import java.awt.*; import java.awt.geom.*; public class … | |
Hello everyone, please i am new to progamming in general and i have a project to submit this friday i have been trying to find a way to write the codes but all i keep getting is errors and another problem is one of the program i have to write … | |
what may be the reason for the following message? D:\program files\Java\jdk1.5.0\bin>java FindNoun java.lang.NullPointerException at java.io.Writer.write(Writer.java:126) at ReplaceText.saveOutput(FindNoun.java:92) at FindNoun.main(FindNoun.java:109) | |
Hi guys, I am working on an encryption/decryption vigenere cipher at present. Ive been reading and writing to text files using integer arrays and then modding them together in order to get the full ASCII character set. the problem i am facing is, when i am encrypting, the spaces dissapear … | |
Could any one pleace tell me, can I run a java program on a system that does not have a java virtual machine?if yes,how could I do it? | |
hi all, I am trying to design a game app that uses a swing gui as a main menu. so far I have been a little confused as to how I get my 'start new game' button to actually launch the game. I have googled event handlers and cannot seem … | |
I have a class that fetches a record but dont think I need to use List object because I am fetching one record and not an array of records. [code=java] public List getRecords(){ ResultSet rs = null; Statement stmt = null; Connection connection = null; List rows = new ArrayList(); … | |
Could I run a java program without installing the java vitual machine on the computer?If yes how could I do it? | |
Can any one tell my why the images[i] is not affective? [code] /* * TPanel.java * * Created on December 9, 2007, 7:42 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package keycards; /* * TPanel.java * … | |
Hello everyone. I have to write a program that needs to use generics. I'm basically just hoping someone can guide me in the right direction here. Lets say I need a program that loads different crates onto a boat. I have to have a boat class (generic class), then other … | |
Hey i have to create a vector in order to store shapes,in specific circles. but i have no idea of how to do such a thing. if anyone is able to help lemme know. thanks in advance. | |
Hey guys, How do you tell which type of GUI should you use ? I'm making a swing application but everytime I look at a Java example / tutorial they tend to use different ones for each example. Is there a reason? I'm guessing so which leads me to which … | |
[CODE] private int[][] gameBoard; private int[][] scratchBoard; public Intboard(int[][] world) { gameBoard = world; scratchBoard = world; } public void updateBoard() { gameBoard = scratchBoard; } //...skipping a bunch of confirmed working methods... public void advanceOneGen() { for(int x = 1; x<gameBoard.length-1; x++) { for(int y = 1; y<gameBoard.length-1; y++) … | |
Hey I have a problem of how can i modify the bankAccount in order to count how many instances of the class have been created. I think of that but the problem is that don't know how to add it to the original program : private static int instanceCount = … | |
Hey guys, Got my logger working as i wanted it to.. basically it just logs to a file using java.utils.logger anyway now got a problem. I'm wanting to duplicate the logging output to a JTextArea on my GUI. So I thought of building a wrapper class but to my suprise … | |
hi, i am new beginner of the java & i want to create a application such using applet for create user - student & admin. | |
not sure if i'm using the right term... i'm having a prototype built and i found that the programmer I hired isn't using php to show form errors. he's using javascript. there are 20 different forms in this app, from user profiles to submitting photos and videos. the site is … | |
Hi, Need help in creating a small java user interface through which we can make a connection to MS Access database with (username and password) , the user interface should ask for a username and password to connect to that specified database, once verified username, should get connected to the … | |
Hello, I am new to java and was looking all over the place for a pop up type warning box coding for java. If someone has any ideas, that would be excellent! Thanks! | |
Hi, I am wanting to reverse mod 128 or 255 on ASCII values, does anyone know how to do this? Thanks | |
Hello. I've recently started to explore the world of Java ME, and now ther's only one problem. Compiling. I've installed Java adk 1.6, Sony Ericsson SDK and even some tool I found under Suns Java ME section but the compiler still doesn't find the ME packages. Hope somone could post … | |
Hi all, I need to write this program today and I really struggle :-( Would you be able to help at all? public class ISPN { private int[] authorId; private int[] programId; /** * Creates a new instance of ISPN */ public ISPN(int[] anAuthorId, int[] aProgramId) //constructor that takes two … | |
Hello All, This is suppose to be my finished code for my "PacMan Game". All this "game" is suppose to do is to allow a Pacman to eat dots that can be placed on the screen at any location by clicking the mouse. It has a main class and a … |
The End.