32,204 Topics

Member Avatar for
Member Avatar for snehalata86

Hi all, I am new to JasperServer.I have been trying hard to create a simple jasper report using single value prompt.But it is giving error when I run it. Please can anyone give me steps to create a jasperserver report using single value prompt??? Please help me

0
52
Member Avatar for vanitha ravi

hey guys i wants to know about the basics of JAVA because i am here going to study that subject i want a basic reference book please help me

Member Avatar for naziatarannum
0
66
Member Avatar for techgirl87

Hi, I have a complicated situation. I am signed up for a CS420 course (Data Management Systems) this summer, although I haven't completed 2 of the "prerequisites" for the course which are a 100-level Java course and a 300-level 'Data Structures' course. I am taking the course at a small, …

Member Avatar for darkagn
0
255
Member Avatar for OffbeatPatriot

I'm trying to use generics in some methods and Netbeans is telling me I'm doing it wrong. It tells me that the lines ***Data = input is wrong and return ***Data[index] with errors to the effect of, required: byte[] found: T[] or required: T found: byte Is there a way …

Member Avatar for OffbeatPatriot
0
90
Member Avatar for Zetlin

Alright guys, so right now I'm working on a program that finds the current focused window and adds a KeyListener to it. The problem is that unlike when you have a window running and you add a KeyListener to it and it stays working until you close the window, once …

Member Avatar for moutanna
0
199
Member Avatar for deiago

Hello I have this NetBeans project to complete and im having a problem passing text from a Jtextfield to another JFrame. I just need to get the data to that JFrame to use an SQL. Please help me Kind regards, Java newbie

Member Avatar for deiago
0
238
Member Avatar for Illidanek

I have an issue with positioning of a JList in a JPanel, I am using absolute positioning, and I don't want to switch to gridlayout or any of that stuff cuz the whole program is in absolute positioning and it wud mess everything up. The problem is that once the …

Member Avatar for NormR1
0
633
Member Avatar for Alex_

I have a class that gets a JFrame as a parameter. I want to get a certain component from it and do some operations with it. Something like this: [code] class A { A (JFrame frame){ a_certain_Component jScrollPane = (a_certain_Component) frame.getThatComponent(); jScrollPane.setViewPort(new JTextPane()); } }[/code]

Member Avatar for masijade
0
222
Member Avatar for yapaarachchi

I was installed jdk 6.0 in my computer.But it did not work yet.I know it want to set the path.But I don't know how to do it.:-O Plz give me a:) answer quickly

Member Avatar for leiger
0
118
Member Avatar for newbeejava

Hi, I want to do Chi-square test, to find the weather two distribution are same or not. I want to use some statistical function to do that. i found common math library to that test. But I don't know how to use that library. Math - Commons-Math: The Apache Commons …

Member Avatar for NormR1
0
91
Member Avatar for pinsickle

I just have a quick question. I am working on a program for a friend of mine, more specifically a program that keeps track of stats of characters makes rolls etc. for DnD. Anyway, I am going to save the data using Serialization and keep the data together via a …

Member Avatar for JamesCherrill
0
124
Member Avatar for TheWhite

I tried everything... I cant find a suitable JSomething to be able to add words to a pane that are different sizes and fonts. I tried JTextAreas but they only allow plain text. JEditorPanes allow HTML but don't seem to let me append single words for some reason. I'm also …

Member Avatar for JamesCherrill
0
92
Member Avatar for ubi_ct83

hi all, thanks for time to view my thread.hope u guys can reply. i have an algorithm,but the question is how can i code from the algorithm?what should i do maybe in steps? because im really new to programming and i want to know what is the step do we …

Member Avatar for masijade
0
105
Member Avatar for gailross

I get this message when I try to compile may work. Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - inner classes cannot have static declarations But I am so new at this that when I read your suggestion of fixing the problem, because there are two classes, I know …

Member Avatar for leiger
0
154
Member Avatar for pi_lord12

Ok, so I'm trying to make a constructor for a text-based game for a monster. Here is the code for it: [CODE]public class Methods { String name; //characteristics of monsters int bodyPoints, mindPoints, attack, defense; public Monster(String name, int bodyPoints, int mindPoints, int attack, int defense) { this.name=name; this.bodyPoints=bodyPoints; this.mindPoints=mindPoints; …

Member Avatar for pi_lord12
0
2K
Member Avatar for talha06

Hi everyone, As most of us, I'm searching a website that offers documentation or project analysis for common web projects like MRP. I urgently need this to develop projects at home. I'll be happy if someone shares a source for this. Thanx everyone who shows interest to this topic. With …

0
50
Member Avatar for jakx12

Ok Iv been doing some research on plotting a sound file with the amplitude as the y value and frequency as the x. I cant seem to find much to be honest.. Has anyone done this or know how i could start. It can be with just .wav files, cuz …

Member Avatar for jakx12
0
2K
Member Avatar for student.09

Hi, I am a intro to java student and need a little bit of help starting on this new program that I have been assigned to write. Don't worry, I'm not just seeking for someone to do it for me, I just need some guidance as I proceed through it, …

Member Avatar for student.09
0
277
Member Avatar for ceyesuma

Hello; I was having a problem understanding how to collect a date dataType as 1111-11-11 from a textFiels) and set a variable that accepts ex:public Date dob; Is there a way to get a string from an array element and parse it to conform to the Date data type? [icode]Exception …

Member Avatar for javaAddict
0
2K
Member Avatar for Virux

I have never had this problem before. I code all my applications in the Eclipse IDE, and they all work fine there. But if I go into the bin and use a batch file, with 'java ClassName' it gives me an error about not finding the main class. I have …

Member Avatar for NormR1
0
375
Member Avatar for daudiam

[CODE]class A extends B { C ob1=new C(); D ob2=new D(); protected void finalize() { System.out.println("Finalizing A"); super.finalize(); } public static void main(String ss[]) { new A(); System.gc(); } }[/CODE] Though System,gc() doesn't guarantee the running of finalization, my question is if the JVM is able to run the finalizations …

Member Avatar for daudiam
0
288
Member Avatar for shoikatroy

hi i just wanted to parse a file to find certain associated data for ex if my text file is : <!#first>This is string1 <!second>THis is string2 So if user types in first...he will get This is string 1 iv written a simple C++ code to parse the text file …

Member Avatar for ~s.o.s~
0
79
Member Avatar for TheWhite

I needed a way to have words with different sized fonts in my JTextArea, but apparently only plane text is supported for it. I turned to JEditorPanes which apparently support html which allows different sized fonts, which is great. Now, I need a way to traverse back into the lines …

Member Avatar for TheWhite
0
89
Member Avatar for bmb11

Ok, so I am not sure how to do this but I am sure it can be done. Here is a scenario: I am reading in a text file that has a persons name and then the salary that they make per year for their job. The text file may …

Member Avatar for bmb11
0
103
Member Avatar for aphexmunky

Hi there, I joined DaniWeb quite some time ago but just been lurking since i joined. I'm stumped on a problem now though and i'm hoping someone can help with it - seems google cant. I'm creating postscript at the moment, there's no issue with this. Part of the postscript …

0
106
Member Avatar for Alex_

I have tried installing and uninstalling everything i had about java, different JRE's and JDK's. These are my current settings : [code]alexandru@alex-desktop:~/Programs/eclipse_Java$ java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing) alexandru@alex-desktop:~/Programs/eclipse_Java$ echo $JAVA_HOME /usr/lib/jvm/java-6-sun-1.6.0.20 alexandru@alex-desktop:~/Programs/eclipse_Java$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.20/bin …

Member Avatar for Alex_
0
584
Member Avatar for justbboying

Hi, do you know how we can convert java script to html code, or put all the java script in some " " cuz I have java programs and want to put them on my web, so ... I heard that there is a special program which converts html, javascript, …

Member Avatar for takachistar
0
409
Member Avatar for Squires

I am pretty proficient in C++ and Java. I know that most progrmas could be written in either language. My question for those of you who have been out there for a while, do companies tend to use one programming language for certain types of programs? For example, is C++ …

Member Avatar for surojit das
1
276
Member Avatar for Stefano Mtangoo

I have seen a lot of ***unit: JUnit, PHPUnit et al. Bu what on earth are they for in practical? Why do we need it? Thanks!

Member Avatar for ~s.o.s~
0
86
Member Avatar for ceyesuma

Does any one know of a class that creates unlimited JTextFields that can collect data? Thanks.

Member Avatar for ceyesuma
0
82

The End.