32,199 Topics

Member Avatar for
Member Avatar for Nrod520

Hi i am trying to create a keyboard input menu that displays the following. I am not quite sure how to go about doing this 1) Work with a circle 2) Work with a rectangle 3) Work with a triangle 4) Exit I am not quite sure how to go …

Member Avatar for verruckt24
0
112
Member Avatar for Grn Xtrm

Hello. I'm working on a class hierarchy that starts with an abstract class called GeometricObject. I want to use this class to create classes of different types of triangles. I want to these classes to inherit the perimeter method from the Triangle class. Here's what I have so far. abstract …

Member Avatar for Grn Xtrm
0
907
Member Avatar for Fionageo

Hello I am working with Jasper iReports, I call a method inside of one subreport created in Java when I run the application sends me the following error: Cannot cast from JasperReport to String value = (java.lang.String)(com.server.beans.GafJasperUtil.getReport(((java.lang.Object)parameter_SUBREPORT_GIS.getValue()), ((java.lang.String)parameter_SUBREPORT_DIR.getValue()) + "GIS-Report"));//$JR_EXPR_ID=45$ <----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> What should I modified? Thank you.

Member Avatar for Fionageo
0
985
Member Avatar for m_sam6

hi i ask about open source projects where i can learn & develop my programming experience to go forward in java programming really i need ur advice about this topic thanks in advance

Member Avatar for Ezzaral
0
57
Member Avatar for GeorgeDavid

Hello, I'm GeorgeDavid. I have noticed a workplace demand for Java consultants so I've signed up for programming classes. I notice this website handles questions fairly and without insulting those of us learning. I hope to also offer advice and assistance to those that may know less or as much …

Member Avatar for jbennet
0
45
Member Avatar for get2tk

hiya all,how can i transfer an array of strings from a client machine to a server machine ?how do i convert to from arrays of string to 1's and 0's on the client side and vice versa?

Member Avatar for verruckt24
0
182
Member Avatar for EJD

I need to display the original information from the input file (see below) as it is presented, compute and display each player's average score on his respective line. Input file: Smith 13 20 8 12 -1 Burch 21 18 16 -1 John -1 Mike 5 -1 (FYI) -1 is the …

Member Avatar for verruckt24
0
578
Member Avatar for abhi_elementx

Hello folks, I m tying to implement a Singleton pattern; Iwant connect to MySQL databaseusing only a single Connection object(Singleton). I have implemented the application using threads. I run 2 threads. The second thread should use the Connection object created by the first thread which is not happening. My code: …

Member Avatar for stephen84s
0
116
Member Avatar for jk_bscomp

hello everyone!!! I am currently working in socket programming in java and I am creating a simple chat application... To go directly to my question, ServerSocket server = new ServerSocket(1024); Socket socket = server.accept(); String hostname = socket.getInetAddress().getHostName(); System.out.println(hostname); If I will run my Server program, the output will be …

Member Avatar for JamesCherrill
0
172
Member Avatar for grebnesor88

i was given an assignment to read from a file and find out the statistics of all the letters in that file. considering it is part of an arrays lesson, i am assuming we need to use those. if someone could help me out, it would be greatly appreciated. thanks, …

Member Avatar for ithelp
0
105
Member Avatar for spec80

Hi, I have a couple of classes and I am trying to do the following: I have a main class that contains a boolean value called "display" that displays various messages throughout the class depending on true/false values. Main class example: [CODE]public static void main (String[] args) { boolean display; …

Member Avatar for spec80
0
1K
Member Avatar for Darkwater

Hey there. I'm using a JTable for the first time, and I've read through the Sun and other tutorials, but this simple concept is still confusing me. So I seek help! Basically; I'm creating a multiplayer (AI-controlled) mining game, which will display maps loaded from XML. I've parsed the XML …

Member Avatar for Ezzaral
0
159
Member Avatar for TheJackRabbit

hey guys, im new to the forum, but i read the rules already so i wanted to start getting help on this homework problem i have for the weekend. i have to determine output of a recursive array code as follows: [CODE]import java.io.File; import java.util.Scanner; import java.io.IOException; class RecArray{ private …

Member Avatar for verruckt24
0
87
Member Avatar for gcr007

Hi, I need a to create a java file dynamically .This file contains myown methods,variables and constructors.Any one please help me..

Member Avatar for masijade
0
131
Member Avatar for Tizzie

So I have to write a program which writes all even numbers between 0 and 50 INTO AN ARRAY and then display them on the screen.... My problem is how i am going to put it into an array I only did part of it but I can't continue doing …

Member Avatar for stultuske
0
147
Member Avatar for SSagar

Hi, I have a file system tree. I need to select a file and highlight it without selection. I am not able to build the TreePath for this. Plz let me know how to build the treepath. Thanks in advacne, Sagar

Member Avatar for SSagar
0
83
Member Avatar for kbullard516

Hello. My task is import data from a text file into an array, and then sort the array and print out the sorted array. Each element of the array represents a clothing item and has name,category,quantity, and price values. I have an Item class to represent a single clothing item, …

Member Avatar for kbullard516
0
153
Member Avatar for charlie81

I know I am missing somethings in my code not sure what I am supposed to put in. Here is what I have so far. import javax.swing.JOptionPane; public class Main_Class { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String firstNumber;//first number …

Member Avatar for verruckt24
0
164
Member Avatar for ceyesuma

[i] Name: The name of this question is: carbon_copy [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] [u] [b] Purpose: [/b] [/u] [b] The purpose of this code is create a desktop app and web app. The web app has the destop apps library. Create a …

0
56
Member Avatar for saraalaee

hello!! is there any body to answer my question : is "General List" a data structure(like ArrayList for example) in java language??if it is, plz tell me what it exactly is??I have searched but i didnt find anything about it!!

Member Avatar for jasimp
0
89
Member Avatar for rayda

[ICODE]public class fermi { private int[] guess; private int[] random; private int total; private int win; private int lose; public fermi(int[] gs, int[] rn) { guess=new int[gs.length]; for(int i=0;i<gs.length;i++) guess[i]=gs[i]; random=new int[rn.length]; for(int j=0;j<rn.length;j++) guess[j]=gs[j]; } public fermi() { total=0; win=0; lose=0; } public int totalPlay() { return total+=1; } …

Member Avatar for verruckt24
0
99
Member Avatar for zeropulse

I'm planning to develop a bluetooth positioning project but i have no idea where to start. I know that we can track a bluetooth device by identifing it's mac address. What i want to know is that can i actually use a bluetooth dongle to retrieve any device near by …

Member Avatar for peter_budo
0
88
Member Avatar for blackcloud72

Please help I am stuck. I am trying to retrieved text from a file named "text.txt" and reversing the contents to another file named "output". Then i have to display the contents of "output" to the console. I am able to display the reversed text to console but only from …

Member Avatar for jasimp
0
111
Member Avatar for etc123

I want to code a java app that uses the JDBC-ODBC driver. However, i have a problem with this driver. I have no idea where to look for it, I also don't know how use it, install etc. Help please.

Member Avatar for JamesCherrill
0
70
Member Avatar for sawant_nitesh

I m having many dataobjects (*.java)(having getters and setters) My requirement is that, I want to write a generic Method, which will accept argument as Object and will call all getters of that Object. Basically I want to write a log file with all dataobjects which are going to be …

Member Avatar for masijade
0
110
Member Avatar for rayda

[ICODE]public class fermi { private int[] guess; private int[] random; private int total; public fermi(int[] gs, int[] rn) { guess=new int[gs.length]; for(int i=0;i<gs.length;i++) guess[i]=gs[i]; random=new int[rn.length]; for(int j=0;j<rn.length;j++) guess[j]=gs[j]; total=0; } public int totalPlay() { return total+=1; } } [/ICODE] [ICODE]import javax.swing.JOptionPane; import java.util.Random; public class playFermi { public static …

Member Avatar for verruckt24
0
124
Member Avatar for The 1

Hi everyone, id firstly like to start off by saying i am new here and if i make any mistakes in anyway i am sorry in advance... I was wondering if anyone could "[B]HELP[/B]" me complete a project that i am doing, i basically have to create the card game …

Member Avatar for VernonDozier
0
190
Member Avatar for senthil12345
Member Avatar for sillyboy
0
68
Member Avatar for silentspanky

Here is the Data: [QUOTE] Department Name: Cool Casino # of Employees: 543 Cost Per Employee: 0.75 Sales: 1000.432 Department Name: Trumpola Burgers # of Employees: 43 Cost Per Employee: 19.725 Sales: 50 Department Name: Donoldio Clothing for Cats # of Employees: 4.0001 Cost Per Employee: 5.233 Sales: 100 Department …

Member Avatar for silentspanky
0
537
Member Avatar for Igor Kirillov

Where I can download z 39.50 server with documentation? How I can deploy in my test enviroment? I have something database, i want use it as datasource for server. It's possible use my database as server's datasource? I am sorry for my English

Member Avatar for Killer_Typo
0
113

The End.