32,199 Topics
| |
Hello, have a good day everyone. I am confused if what elements are to be inserted in a queue. Are only numbers can be inserted in a queue? Are letters or word(e.g."Subject") can be inserted in a queue? Thank you ahead everyone. Have a nice day. | |
I am trying to figure out how many ways you can go if you only take one or two steps. For example. If the number is 4 there are 5 ways you can move going one or two steps. I have to do it with recursion. I have the following … | |
[CODE]public class table extends JPanel implements ActionListener{ JButton addInfo; public table(String dataFilePath) { JTable table; model model; Font f; f = new Font("SanSerif",Font.PLAIN,24); setFont(f); setLayout(new BorderLayout()); model = new model(dataFilePath); table = new JTable(); table.setModel(model); table.createDefaultColumnsFromModel(); GridLayout layout = new GridLayout(80,30); addInfo = new JButton("Add Data"); addInfo.setSize(80, 30); addInfo.addActionListener(this); //action … | |
I am a begginer and i know almost nothing in java. our prof has asked me to write a program that computes 50 employees salary (normal,overtime and bonuses) ,print the result and keep a back up. can somebody please help me write the code. | |
I want to connect to sybase from java using jdbc:odbc bridge.. Which driver should I use like I have used "ODBC for Oracle" Plz help.. | |
Dear Friends I have working knowledge of java. but when it comes to make a java reportsi don't know how to proceed. will any one help by guiding me or by providing me some tutorials to make reports in java. i am unable to visualize a solution. i don't understand … | |
Help .. I'm supposed to make a java program that will create an output of increament whre the last number is 10 and the series is 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 .. it's like counting to 10.. we're supposed to use a do-while loop or … | |
I'm a computer science major with a background in C++, not Java. My professor told the class that the Scanner class has a nextInt(), nextDouble(), nextFloat(), etc for every primative type. But whenever I try to use nextChar(), the compiler gives me an "undefined symbol" error. That means that there … | |
hello.. i really need help.. I don't know why i keep on getting an empty stack if i pop a token from stack even if user has already push a token into it.. [code=java] public class MStack implements Stack{ public Node top; public Node[] stack; public static int T[]; public … | |
i want to make one website in jsp.. ... can any one help me....about coding....plz.... | |
actualy i need help i m making a software in java swing i hv a problem in retriving values from database in JTable, i m inserting values in database ms access it works, following is my code one is for database another one for table ..................................................................................................................................... [code] import java.sql.*; public … | |
hello guyz,,i just want to ask if you know a site that have a free ebook that would explain best the data structures..we have a problem to code..and it is about queues,,and sorting,,and i hope to find a best ebook that will explain best about the sorting and the queues,,,thanks … | |
Dear Friends I have working knowledge of java. but when it comes to make a java projects i don't know how to proceed. will any one help by guiding me or by providing me some tutorials to make my first project in java. i am unable to visualize a solution. … | |
In a database program we configure the Access file through ODBC option provide in the control panel. Then we obtain the dns name of the database with wich we connect it to or application. This all is done explictly. I would like to know if this task can be done … | |
/*Write a Java program without a graphical user interface that calculates and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. In this program, hard code the amount = $200,000, the term = 30 years, and … | |
Please help me, I need to turn this in tomorrow. I need to do it so I can make my stick figure move using arrow keys. I've made everything, but I don't know how to implement the keys. Can someone please guide me? And give me sample code and where … | |
Hi, I am getting a java.lang.NoClassDefFoundError for one of the classes in a IBM Jar file being used in our application framework project. This IBM JAR file is no longer supported by IBM but is used by one of the application framework projects. This jar file is not there in … | |
I'm an elder learning Java, and am somewhat a bit confused when it comes to algorithms and such like. I have had to create an application that when a user inputs a number of crazy frogs hit with a hammer, your points score is given back to you. If 2 … | |
I think I have 90+ percent of the coding right for this but I am having an issue with the program stopping after the "welcome to payroll program statement" I can't figure out what goes after while on the liine after the boolean stop line. Any help would be greatly … | |
i am trying out this code that i got from one of suns tutorials, it deals with echoing an input back to the command prompt. this is where i got the code [URL="http://java.sun.com/docs/books/tutorial/networking/sockets/readingWriting.html"]http://java.sun.com/docs/books/tutorial/networking/sockets/readingWriting.html[/URL] this is my code, and i am getting the message [COLOR="Green"]"Couldn't get I/O for the connection to: … | |
Hello My recursive file scan is not doing what I want it to do. I want it to be able to go through all roots (drives)... With no user intervention, so without including "C:\\" or "." as a string in the source, or without a TextIO.java class. [ICODE]import java.io.*; import … | |
"Hi this is Satbir Singh doing a job in a insitute as a trainee for c cpp java etc. But i have some appllication programs that is being difficule to solve for me in java . Would somebody plz help me for solving these problems that i m atteching with … | |
Hi! I am new at documenting my system and I hope someone can shed some light on me regarding classes...I don't really know how to build classes... this is the scenario of my system...It is an online syllabus system wherein the user can download the syllabus freely... The system will … | |
Hey guys, I'm creating this as an admin program for another program I've made. Basically all that happens at this point is show a bunch of buttons and the titles of the buttons are the computers that the using accounts from my MySQL database. This is just the panel, but … | |
Hi i m working on project "Apriori algorithm simulation" on java. Can anybody tell me which r the neccesary software tools is needed.means which software needed | |
I have to sort the bars but i have to show them sort, by delaying it. Can someone help me add delay to make it work. I used Selection Sort --- [code] import java.applet.Applet; import java.awt.*; import java.util.Random; import javax.swing.*; public class SelectionSort extends JApplet { //Variables and arrays Rectangle[] … | |
hi i m working for my college project . topic is network monitoring...i hav decided to use proxy server,but i want that any user who want to access internet must be first redirected to my login page which is stored in server... i have proxy and login page but my … | |
We want to write byte array to a file.The code given below works correctly for only one byte array.When we try to write more than one byte array,the previous byte array gets overwritten. How can we achieve this? [code] import java.io.*; import java.nio.*; import java.util.logging.FileHandler; import java.util.logging.Level; import java.util.logging.Logger; import … | |
Hello I am having problems with parsing a String array so that i could format it in a way that i could convert it to an integer. Here is piece of the code: [code=java] String names[] = something.toArray( new String[something.size()]); String strNames= new String(); String parse = new String(); for … | |
I have a java program that take snapshots of my screen at say 10 pics per second i want to send it to another computer in the same sequence i tried to send images by writng them one by one on the outputstream OutputStream os=incoming.getOutputStream(); ImageIO.write(img,"jpg",os); but i am able … |
The End.