35,618 Topics

Member Avatar for
Member Avatar for shahab.burki

Hi, I am implementing Linked List in Java. I am using three classes for this i.e Data Class, Node Class and Linked List Class. Now the problem is that a searchNode method in my linked List class doesn't work properly. I have tried to debug it it, but can't understand. …

Member Avatar for darkagn
0
94
Member Avatar for senthil12345

Hi all, Can any one tell me, how to find C: free space in windows using jdk 1.5 ?.Thanks in Advance.

Member Avatar for verruckt24
0
99
Member Avatar for pankbharambe

Hello, I have a one form in jsp in that I m using ajax technology..but i am confuse..my question is.. My form contain one table, i want when click on a [B]Perticular Cell[/B] of a table the related data will display by using ajax..please tell me how to call ajax …

0
44
Member Avatar for bahr_alhalak

[COLOR="Green"][B]write a report on threads in operating systems such as [U][COLOR="Red"]Linux[/COLOR] [/U]and [U][COLOR="red"]windows XP [/COLOR][/U]? [/B][/COLOR]

Member Avatar for verruckt24
-3
194
Member Avatar for piyush09

i reaaly get few errors in the code for run a video in JSP or for video streaming... can anyone help me to give the code for it.. thank you

Member Avatar for monem
0
68
Member Avatar for itslucky

Hi, Dear Friends i am working on my Project of Chatting... i want to chat with the Client having the specific ip address, so i just pass the ip address of my friend to the server and server will send my message to that ip address... on which a client …

Member Avatar for dickersonka
0
110
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
114
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
912
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
990
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
58
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
46
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
183
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
581
Member Avatar for Mumma Singh

Hi,Friends Im facing problem in paging using jsp & oracle ,in this code only 1 to 10 values displying,when im clicking on next its displying nothing.Means not taking next values. [code=JSP]<%@ page language="java" import="java.sql.*;"%> <html> <head> </head> <body> <br><br><br> <% int offset=0; int ofset = 0; if(request.getParameter("offset")!=null) { offset= Integer.parseInt(request.getParameter("offset").toString()); …

Member Avatar for Mumma Singh
0
298
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
117
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
173
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
107
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 mps727

I'm having trouble compiling my servlet, because it says the servlet classes can't be found. [code] CreateAccount.java:2: package javax.servlet does not exist import javax.servlet.*; ^ [/code] I googled a bunch and most people with this problem had their CLASSPATH set incorrectly. Here is the result when I echo my classpath: …

Member Avatar for mps727
1
137
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
160
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
88
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
133
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
150
Member Avatar for kohuke

Hi. I'm trying to learn how to make my own web app and following those tutorials: [url]http://www.netbeans.org/kb/docs/java/gui-db.html[/url] [url]http://www.netbeans.org/kb/61/web/applets.html[/url] I created a desktop application like showed in the first guide. Then tried to integrate it into the Web Applet. But for some reason after right clicking my desktopapp's java file and …

0
102
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
85
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
155
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
166
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
57
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
90
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
100

The End.