32,199 Topics
| |
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 … | |
I want to draw a Bar Chart, Plz help me to find the code for it. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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.... | |
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 … | |
i want to edit my posted Message,Can you please help me how to edit my posted message here | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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.*; … | |
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>> | |
I am working on a JAVA project which needs to set the System date and time. I want to open Date and Time Properties of Windows through my Project. When I click on JButton, it should open Windows Date and Time Properties. How to do it ? Please Reply. | |
does anyone knows how to do this plz help | |
I have a problem here that's stumping me. OK, more than one. :) But only one for now. This program reads two input files. The second file is processed first in a loop. Then, I want to use this information to update information in the first file. Here's the section … | |
I don't wan't my buttons to reacts to hover events or any other events... and i dont want to disable them.............................how do i do that without disabling them ? | |
i wanted an image background on a Jpanel, so I got a programm that overrides the paint function. Now i have a code that draws the image as a background and also enabled me to have some buttons on it...now i want to add more images (or animations) on my … |
The End.