32,204 Topics

Member Avatar for
Member Avatar for BuddMurray

Hi pros I just started a project at work which requires Groovy development in a Grails generated project. I got the project handed to me "as is" from my boss and I don't know much about Grails and Groovy. after exploring the project and got it running via "Grails run-app" …

0
42
Member Avatar for bhavnaagrawal

how can i pull data from sites like yahoo,espn .I wan to use java servlets .

Member Avatar for yilmazhuseyin
0
78
Member Avatar for mkandit

Hello friends i m trying to connect my jsp code with mysql front but i found myself helpless. please guys help me.....this is the code. <%@ page import="java.sql.*"%> <%@ page import="javax.sql.*"%> <%@ page import="java.util.Vector"%> <%@ page import="java.io.*"%> <%@ page language="java" %> <%@ page import="java.lang.*" %> <%@ page import="java.text.*" %> <%@ …

Member Avatar for stephen84s
0
85
Member Avatar for shraddha_gupta

I have downloaded the code for drawing a bar chart, that has imported these packages import org.jfree.chart.*; import org.jfree.chart.plot.*; import org.jfree.data.*; import org.jfree.data.general.*; on compiling on java 1.6 these packages are giving error. What is the problem??

Member Avatar for Ezzaral
0
68
Member Avatar for nuwan243

Hey Every One, Is there a package or written class to access hardwares like cd rom by using a java code.i had referred the java documentation but i didnt found.If any one know about this please send me a feed back. i referred some basic books also like( java in …

Member Avatar for Ezzaral
0
103
Member Avatar for perezfl

Hello all, this is just another student level program and I need some help with the final bit. This a program that gets input from a user and outputs teh student name, average grade, all scores highest score, etc. But I am having trouble outputing the scores (which are in …

Member Avatar for Ezzaral
0
111
Member Avatar for shraddha_gupta
Member Avatar for stephen84s
0
53
Member Avatar for hannehomuth

Hello Everyone, at first thank you for reading this post. I've searched nearly 4 Hours the whole Internet but did not find an answer which pleased we well. Does anyone know how get access to the gnome keyring tool through dbus in an Java Application. I shall write an Java …

Member Avatar for hannehomuth
0
180
Member Avatar for evaristo

dear bunch of developers, i have this JTable and i'm contructing it with a model object extended from a DefaultTableModel. The way i'm passing the data to it is by means of a vector: [CODE]public void setData(List<Object> data) { myTableModel.setDataVector(data); }[/CODE] ...and in my table model i have something like …

Member Avatar for evaristo
0
147
Member Avatar for shraddha_gupta

I have made my project in JApplet, Each JApplet is working fine independently. But I dont know how to link then I have a menu on the home page. private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: Month mth=new Month(); System.out.print("object created"); try { System.out.println("Trying to …

0
48
Member Avatar for amjad277

Hello, does anybody know what is the difference between thies two codes? [B]1- With this code I get "NullPointerException at process1.getCurrentNode();"[/B] public void signal(ProcessEntity process) { ProcessEntity process1 = getEntityManager().find(ProcessEntity.class, process.getId()); if (process1 == null) { try { Thread.sleep(5000); } catch (InterruptedException e) { e.printStackTrace(); } signal(process); } NodeEntity currentNode …

Member Avatar for amjad277
0
99
Member Avatar for shwetha_cs26

jt = new JTabbedPane(JTabbedPane.TOP); jt.setTabPlacement(JTabbedPane.TOP); //panel1 jp.setPreferredSize(new Dimension (50,50)); jp.setLayout(new BorderLayout()); jp.setBackground(Color.BLACK); jp.setPreferredSize(new Dimension(60,50)); jp4 = new JPanel(); j = new JButton("Draw The Graph"); j.addActionListener(this); jp4.setBorder(BorderFactory.createRaisedBevelBorder()); jp4.setPreferredSize(new Dimension(180,40)); jp4.add(j); jp.add(jp4,BorderLayout.EAST); String[] a = {"select "}; lab = new JLabel("x parameters"); lab.setLocation(700,700); jp4.add(lab); jcb= new JComboBox(a); jp4.add(jcb); lab1 = new JLabel("Y …

Member Avatar for javaAddict
0
106
Member Avatar for ali_shah

hi i m the student of bcs 6th term and i have a project in java and i am new to java plz help me how to create the IDE in java [B] project operation[/B] it can have all the editing capabilities it can compile the source code it can …

Member Avatar for redZERO
0
55
Member Avatar for Waseemn

Hello All, OK I am not sure if any of you here are also coming from the C++ forum, but I finished my C++ class, got an A, thanks to all your help, and now I am onto Java. I am still a beginner in both Java and C++ and …

Member Avatar for Alex Edwards
0
175
Member Avatar for thorneko

1st off, I'm new to JAVA/NETBEANS, and my experience lies mainly in C and the Sparc assembly language. The above problem is one I've solved in C (input a string of hex characters and then convert it to a binary array for the purposes of bit manipulation, namely for debug …

Member Avatar for Ezzaral
0
1K
Member Avatar for m_sam6

hi i m new to java programming and i want to make a voice chat which access a sql server db and extract ip 's of all clients that every one log in by ip (on LAN) and the problem face me now is to broadcast voice to all these …

Member Avatar for m_sam6
0
123
Member Avatar for redZERO

Hi, I want to build my own simple 2D RPG in Java. Whilst I am new to Java, I do understand the fundamentals of OO programming, and I am quick to learn, as long as someone isn't too impatient. I just wonder if there is anybody who can check my …

Member Avatar for redZERO
0
108
Member Avatar for saurabh92

Hey, I'm pretty new to Java and I was hoping someone could help me out. I wanted to know how to store the information that a loop shows. I've been asked to create a project which adds up the squares of the numbers from a to c, and this is …

Member Avatar for saurabh92
0
127
Member Avatar for k.samdani

i am the student of final year computer engineering and i need the topics of projects applicable to it... so please help me if u can..... i really thank you in advance for giving me your time and mind blowing ideas....

Member Avatar for jasimp
-1
78
Member Avatar for nnhamane
Member Avatar for nschessnerd

so i have a war deployed, and i need to make a temp file. but when i make one in the java app it creates it in the tomcat root which is not equal to the web root... how do i create a tmp file in the root if i …

Member Avatar for ~s.o.s~
0
170
Member Avatar for Bishnu Mishra
Member Avatar for sciwizeh
0
43
Member Avatar for new_2_java

Hi all, I have to write a synchronization utility which synchronizes a target folder with a source folder: i.e. I have the following source directory structure and would like to synchronize it. [code] C:\source\ | +----Folder_A | | | +---Folder_A1 | | | | | +---File_AA1.txt | | | +---FileA1.txt …

Member Avatar for new_2_java
0
156
Member Avatar for k.samdani
Member Avatar for sciwizeh

simple questions, hopefully simple answers: How do i give a JButton the capability to accept a right click? When a JButton is being clicked it changes to a darker color, is there a way to make it a completely different color? i cannot find these answers in the API or …

Member Avatar for Ezzaral
0
215
Member Avatar for Alex Edwards

I'm a complete rookie with NetBeans, and that's unfortunate because this summer our Instructor wants us to use NetBeans throughout the entire course. I'd just like to know... how do I add existing files to a project? I've tried right-clicking the project folders to see if there was some kind …

Member Avatar for Alex Edwards
0
180
Member Avatar for Lakepoint

Hi, I'm working on a personal project, developing a program that would help me. I just thought it would be nice if I could turn it into a click-and-run executable application rather than the .bat file I've put together. Anyone have any ideas? Thanks, Lakepoint

Member Avatar for dreadrocksean
0
1K
Member Avatar for regent_royal

Hi friends, I have[B] build swing based application on windows os and I want to run this application in linux.[/B] The .jar file runs perfectly on windows. but not running on linux. gives error as below. pls. help regent@regent:~/main the law$ java -jar thelaw.jar Exception in thread "main" java.lang.NoClassDefFoundError: while …

Member Avatar for regent_royal
0
172
Member Avatar for zyaday

Hey everyone, i'm working on this code...i'm trying to put some images ---animations--on to my jpanel..the problem is everytime i try that, it gets repainted with initial screen setup I have...how do i solve this..here is the code.. import com.sun.org.apache.bcel.internal.classfile.JavaClass; import java.awt.event.*; import java.awt.image.ImageObserver; import java.text.AttributedCharacterIterator; import javax.swing.*; import java.awt.*; …

0
44
Member Avatar for Bishnu Mishra

Hi, i am currently devloping our own version control system. i want to compare two xml file by using sax parser in java. can any one give the source code to me or post to <<email snipped>>

Member Avatar for Bishnu Mishra
-1
38

The End.