32,204 Topics

Member Avatar for
Member Avatar for fortex

Hello everyone, right now I'm taking a java class, and I'm having one error in my app. Right now I have to .java files, one which calls the methods from another .java file. When I compile the first java file, it doesn't give me any error. But when compiling the …

Member Avatar for BestJewSinceJC
2
148
Member Avatar for ryno365

Hello daniweb. I'm working on a Poker Holdem Application and I'm trying to work on a view/jframe for it. Everything was running smoothly until something weird happened. After deleting an old hand-coded MainFrame which extends JFrame file, I tried to create a new MainFrame/JFrame file but this time using netbeans …

Member Avatar for ryno365
1
115
Member Avatar for javapal

Can anyone teach me on how to create a program that counts spaces entered in a string.....

Member Avatar for mrnutty
0
99
Member Avatar for johndb

Can anyone tell me or point me in a direction as to how I could get output in latex maths notation in java. Is there a package I can import? Is java not the right language to be doing something with latex? I searched around the net but unfortunately didn't …

0
44
Member Avatar for JRabbit2307

Hi guys i'm new to programming and i'm supposed to do a sum then average in which the output requests for four numbers from user then takes those #'s add them up and get the average then do a number of values in the array greater than the average is... …

Member Avatar for JRabbit2307
-1
515
Member Avatar for queen

I was wondering if anyone would tell me what I am doing wrong because I'm really stuck and getting really sad :sad: goal: copy contents of oldZipFile.zip and create a newZip.zip with contents of old zip file. Problem: If oldZipFile.zip just contains .txt files, it works. But if it contains …

Member Avatar for rg.crichton
0
138
Member Avatar for silhoutte

Hey, Currently I am doing an assignment building an enterprise web application. One of the specification states that I need to make a calendar view of a booking system in JSP. Is there a library out there that help me doing this? Calendar view here is a page that represents …

Member Avatar for peter_budo
0
113
Member Avatar for harvin23

Hi guys/Girls.. i have been trying this question for the past 3 weeks using java SE... i tried very hard but could get the output... do try to help me out... [B]Question[/B]: [I][COLOR="Red"]Write a program for a bag of strings, where the strings are stored in binary search tree. In …

Member Avatar for ejosiah
-1
1K
Member Avatar for javaAddict

I encountered some code at work that got me thinking. There was a util - class that had some methods that had nothing to do with the state of the class. They were all "util" methods. Meaning that they could all be declared static with [U]no[/U] problem because the only …

Member Avatar for javaAddict
0
124
Member Avatar for ssDimensionss

hi all, im doing a project where i have to implment a rpg game... i have a class called item and the constructor looks something like public Item(int x, int y, String image_path, boolean z) { map_x = x; map_y = y; image = new Image (image_path); pickup = z; …

Member Avatar for JamesCherrill
0
87
Member Avatar for vishalanuj

[CODE]package Add; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionForward; public class AddSuccessAction extends Action { private final static String SUCCESS = "success"; public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { …

Member Avatar for vishalanuj
0
250
Member Avatar for miasuhyla

Write a program that generates one hundred random integers between 0 and 9 and displays the count for each number. Your program must have method that returns the counts for each number. Hint: Use (int)(Math.random() * 10) to generate a random integer between 0 and 9. Use an array of …

Member Avatar for ejosiah
0
110
Member Avatar for Ghost

The source of my COPYRIGHTED tictactoe java game. It shows how to use multiple classes, methods, etc.

Member Avatar for JamesCherrill
-2
131
Member Avatar for beshoyatef

I designed chess board game before , i did for loop for rows and i did for loop for column ... and the result appear good . But here i want to make the board by two inner loop inside them . I do that but the rows not appear …

Member Avatar for beshoyatef
0
123
Member Avatar for madeltweenlibra

java programming is the latest program around the world. i am a student of computer programing our assessment are too near, i need to learn java programs in just four days starts from tomorrow ... could you?

Member Avatar for javaAddict
-2
277
Member Avatar for Treezwithgunz

I am trying to write a program that will give me the volume of a cylinder when I run it. I already have a Circle class that computes the area of a circle. I am also using a seperate program to handle the input and output. Could someone tell me …

Member Avatar for Jocamps
0
108
Member Avatar for LKH

I dont have idea how to show "kim chong" words backward(gnohC mik). anyone have idea for this quenstion pls share thanks!

Member Avatar for BestJewSinceJC
0
65
Member Avatar for wtd

Hi, I made this test page: [url]www.wearwolfdesign.com/index.php[/url] In Safari, Opera, Internet Explorer and Google chrome it works perfectly all look slightly different but acceptable. The problem is in FF the text at the top looses all it's format and goes a horrible font with no positioning. The second issue is …

Member Avatar for wtd
0
129
Member Avatar for salamjamal10

An online retailer sells five products whose retail prices are as follows: Product 1, $2.98; product 2, $4.50; product 3, $9.98; product 4, $4.49; and product 5, $6.87. Write an application that reads a series of pairs of numbers as follows: a) product number b) quantity sold Your program should …

Member Avatar for Jocamps
0
380
Member Avatar for miasuhyla

Write a class called Person.java that has instance variables matric number, name, date of birth, and gender. Use appropriate data types for these instance variables. Include constructor and set and get methods for all instance variables. Draw UML diagram for class Person. Then, create an application class that asks the …

Member Avatar for Jocamps
-1
84
Member Avatar for programboy

Since I am still beginning to explore the digital television technology, I read and reviewed the information I found on this site: [url]http://www.tvwithoutborders.com/[/url]. I found many interesting ideas about developing interactive TV viewing on a mobile. In the latter site I found out that you can make an application using …

Member Avatar for jimmartens
0
132
Member Avatar for llemes4011

Hello. I've been using NetBeans for quite a while, and I really like the Draggable components that it uses. In both the GUI Builder & the GUI itself. So, my question is, How do you drag components around in the UI like that? I've looked into the java.awt.dnd package, and …

Member Avatar for llemes4011
0
160
Member Avatar for Ranek

So, i'm working on creating a very basic currency converter from Pounds to Euros or Euros to Pounds. It takes the exchange rate from the user then asks which way to convert. Then asks the amount of currency. This was easy for me to do in just one main class, …

Member Avatar for Ranek
0
4K
Member Avatar for george21

I need to display the loan table with the annual interest rate, monthly payment, and total payment for the number of years entered. When I run my program, it only displays the info for 8%, when I need to display all interest rates from 5% to 8% in increments of …

Member Avatar for BestJewSinceJC
0
109
Member Avatar for DannyGreat
Member Avatar for peter_budo
-2
93
Member Avatar for Edvin

Hi, I am firs time on this forum. I am looking for somebody to develop smart card system for pay per use tanning beds. Anyone interested please contact me.

Member Avatar for javaAddict
-3
133
Member Avatar for BlackPhoenix

Forgive me for making a topic that has the potential of being too broad. I will do my best to avoid generalizations and get to the point. I have a development team that is experienced in C++, some Java, PHP, and SQL databases. We are trying to create a web …

Member Avatar for BlackPhoenix
0
78
Member Avatar for locked_twilight

This is a working program. But there is a logical error. Try this with the calculator: Press 2,M; Press R,*,2; Press R,*2; The output in the same order must be: 2 2*2 = 4 2*2 = 4 but the third one outputs 88 instead. M stands for Memory, it stores …

Member Avatar for locked_twilight
0
142
Member Avatar for scias23

WHAT i want to happen is, when i click the CALCULATOR menu item, my separate Calculator.java will run on the MenuShortCut JFrame. AGAIN, i want the separate .java file to appear on THE SAME JFrame of MenuShortCut class. here's what i've got [CODE=java] import javax.swing.*; import java.awt.event.*; public class MenuShortcut …

0
105
Member Avatar for domenzup

Hi, I have some problems aka how to bring value of type double (or even array of double values) through socket from C++ server to Java applet client. I tried two possibilities. For example: [LIST=1] [*] Doesn't work, but I think it could be ok while working In c++ my …

Member Avatar for domenzup
0
1K

The End.