35,618 Topics
![]() | |
Does anyone know of a good beginner java book that is the most up to date? Head First Java 2nd ed. seems kind of outdated when I looked at the date. | |
I'm developing an application which uses a Timer so that the JButtons that the application has, blink each half a second, And the problem is that it works properly until I make some JButtons fire events. When this happens the timer speeds up, but its delay is the same. I … | |
Plz help. I am working to create application kind of auto-suggestion. I am using JTextPane along with Jlist on PopupMenu. I am not able to get the Action Event on JList. and other problem is that my KeyPress Event of JTextPane are getting overlapped with JList hence nothing is selected … | |
cn u plz tel me the java code.. to display image as soon as it is selected...?? please... :pretty: | |
Hi, Could someone please help me, I'm a bit stuck and don't know where to start. I want to create a program where I have to use multiple arrays eg: processing the data of a file, the file contains details of several groups of students(group 1,2 3,...) and each group … | |
Respected Sir, I am trying to execute above code with rerquest response object. In my jsp file i have 3 text boxes 1.mobile 2.username 3.password , All the above three attributes are stored in MySql table emp. I want to execute this code in a fashion like when i entered … | |
Please help me to expound how to do layout management. You may choose any layout manager and expound it. I'm doing self teaching most of the time and it is not fun! Please help me ho to arrange. Also which layout is mostly used | |
Hey everyone, A root-to-leaf path in a tree is defined to be a sequence of nodes starting from the root node and proceeding downwards to a leaf.Required that given a tree, output the tree after reversing all root-to-leaf paths. For the following tree: root = 5 root.right = 8, root.left … | |
Hi all, I got a new Java puzzle in which I have to find the largest of given numbers without using If loop,for loop or while loop..And you should not use any max() or min() functions. Can anyone help me out in this?I want to know whether it is possible … | |
Hi, Can anybody point me out to good resources on "automating form filing and submission through Java App". The various types of forms are as given below: 1. Standard form with Form_Name, text boxes and submit button 2. Standard form with Form_Name, text boxes and submit image or JS based … | |
Hello. I am writing an ATM program for a project, but I am having problems matching the users entered pin with what is stored on the text file. Here is how i read the file [CODE]import java.io.File; import java.util.Scanner; import machine.*; import javax.swing.JOptionPane; public class FileRead { Transactions query = … | |
So...I have just begun to whet my appetite for Java today, and I have already run into a stumbling block. When I put my code in a .java file and compile it (via javac), I receive no errors. However, when I actually run my script, I receive quite the nasty … | |
As you know there exists Mobile Banking for all Banking Domains. Everyone can do their banking from their Mobile devices. So I like to create a Desktop Application for banking on Windows. Users can do their banking like making and viewing transactions, credit card information, Saving accounts, current accounts, demat … | |
merry Christmas! [CODE]import java.io.*; public class NickelDollar { public static void main(String[] args){ BufferedReader BR = new BufferedReader(new InputStreamReader(System.in)); String num = ""; System.out.println("How much Nickel do you have?" ); System.out.println("How much Pennies do you have?" ); try { num = BR.readLinne(); int nickel = Interger.parseInt(num); num = BR.readLinne(); int … | |
[code]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class cal extends JFrame implements ActionListener { JMenuBar mb; JMenu file, help; JMenuItem esc, about; JButton btn[]; JLabel lab1 = new JLabel("0"); JPanel pan1; int i; final int MAX_INPUT_LENGTH = 20; final int INPUT_MODE = 0; final int RESULT_MODE = 1; final int … | |
Hi can some body help me out with this, i was trying to display a directory list from a folder toa jlist using the following code [code]String st; while( (st.length)!=-1) { fileName=in.readUTF(); String data[] = {fileName}; jList1=new JList(data); }[/code] but it only displays one file, how could i correct this … | |
Hi, I just finished learning basic OO concepts and java programming. I know some HTML and have made very basic webpages. I'd like to tackle something like Ruby then ruby on rails. I've also taken a class in databases and mySQL. Do you think it's ok for my level to … | |
Hi all, I've registered a host name that I have been port forwarding to IIS for html/php pages. I recently setup up some connectors for Tomcat 6 and IIS, but that's not going so well. I can only view a set of sample pages that came with Tomcat and none … | |
i want to made a online test series program in jsp using beans, so plz help me , i want structure and database of program . | |
![]() | So I've recently been learning java and have been using [url]www.javacoffeebreak.com[/url] for my first tutorial, anyway everything's been going smoothly til I get to here: [url]http://javacoffeebreak.com/java102/java102.html[/url] The code that's giving me that error is the following: [code] public class Account { protected double balance; // Constructor to initialize balance public … ![]() |
hello guys, I have to implement a classic snake game with java in 3 days but I couldn't figure out how to code yet. If you have a source code or a useful tutorial for the snake game please let me know. My program will be a little different from … | |
hi everyone, i need help with a project that i am doing. i need to use inheritance and arrays to make a poker game, making a card class and a poker class that extends the card class in the card class i would need to use arrays to make a … | |
Hi all, Kindly let me know the solution for the below query [code]<fmt:message bundle='${config}' key='singlelevelauth' /> [/code] the above line prints a value in the page but i need that value to be set using <core:set> tag and i used the following.. [code]<core:set var="corpID" value=<fmt:message bundle='${config}' key='singlelevelauth' /> ></core:set>[/code] i … | |
Hey, I am new to this forum. I wanted some help . I was planning to do a project in remote OS detection . what would be the best way forward. the language to be used( i was thinking of java). basically how to start :)... thanks.. | |
Hi everyone. So I get the code going now the question is: How to make a menu in Java code? For example: 1.create table 2.insert into table 3.select fro table 4.delete table... Which will you choose: ex.1 and creates table I mean like switch case in C++ [code] import java.sql.*; … | |
So I have a client/server application and I'm trying to send an ArrayList of objects to the server. I kept getting errors sending the ArrayList of objects, so I just decided to send an empty ArrayList to see if anything was wrong, and it turns out, that the server can't … | |
Hey everyone, this is my first of what I plan on being many posts. I am just getting into java, this is my first programming language. I am trying to learn how to use the java.awt. package to do graphics, can anyone point me in the right way to learn … | |
i have no idea about how to create a forum in jsp please give me suggestion and code to create a discussion forum | |
hi, I am interested in java based software/applications that can support complex financial calulations such as set processing, iterations and looping function. The objective is to use it while defining insurance calculation which can be complex by itself. The application should have built in set processing calculations. Can anyone help … |
The End.