32,199 Topics

Member Avatar for
Member Avatar for letlet_pogs

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.

Member Avatar for ~s.o.s~
0
100
Member Avatar for leeba

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 …

Member Avatar for BestJewSinceJC
0
90
Member Avatar for radhasb

[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 …

Member Avatar for Ezzaral
0
114
Member Avatar for metemostan

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.

Member Avatar for BestJewSinceJC
0
134
Member Avatar for srs_grp

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..

Member Avatar for Ezzaral
0
126
Member Avatar for dinkarkolhe

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 …

Member Avatar for Ezzaral
0
81
Member Avatar for blumisa

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 …

Member Avatar for iyercb
0
83
Member Avatar for dmanw100

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 …

Member Avatar for stephen84s
0
373
Member Avatar for ezkonekgal

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 …

Member Avatar for ezkonekgal
0
230
Member Avatar for kinjal1717u

i want to make one website in jsp.. ... can any one help me....about coding....plz....

Member Avatar for verruckt24
0
78
Member Avatar for priya_gurnani

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 …

Member Avatar for javaAddict
0
98
Member Avatar for l_03

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 …

Member Avatar for verruckt24
0
141
Member Avatar for mukesh.dagar

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. …

Member Avatar for verruckt24
1
104
Member Avatar for adityabakle

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 …

Member Avatar for omgargatte
0
103
Member Avatar for PPaul1

/*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 …

Member Avatar for Jearline
0
701
Member Avatar for Alishaikh

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 …

Member Avatar for Alishaikh
0
450
Member Avatar for sumitpatki

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 …

Member Avatar for sillyboy
0
110
Member Avatar for xabi

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 …

Member Avatar for Ezzaral
0
119
Member Avatar for Coyboss

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 …

Member Avatar for Coyboss
0
566
Member Avatar for localp

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: …

Member Avatar for localp
0
226
Member Avatar for caps_lock

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 …

Member Avatar for caps_lock
0
178
Member Avatar for mca_satbir

"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 …

Member Avatar for javaAddict
0
104
Member Avatar for jellyfish888

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 …

Member Avatar for stephen84s
0
95
Member Avatar for PhiberOptik

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 …

Member Avatar for PhiberOptik
0
106
Member Avatar for deepak777mishra

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

Member Avatar for BestJewSinceJC
0
43
Member Avatar for fomi101

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[] …

Member Avatar for BestJewSinceJC
0
56
Member Avatar for guneet singh

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 …

0
53
Member Avatar for srs_grp

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 …

Member Avatar for ~s.o.s~
0
145
Member Avatar for fanatic

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 …

Member Avatar for fanatic
0
108
Member Avatar for gauravmishra

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 …

Member Avatar for ~s.o.s~
0
953

The End.