35,618 Topics
![]() | |
Hi everyone, I have a task to generate reports in my project. I am using JasperReports for the reporting purpose and generating the reports using servlets. The reports should be generated and displayed as pdf file in the client's browser window. Now every thing is working fine except the no … | |
Okay i posted a question like a day ago and didn't get no response, I did however figure out the problem. The problem I am having now with is the fact that it finds the numbers that i want it to but it also adds a zero which is in … | |
i have a program that requires that I load info from a text file and in the end, make an arena out of it. The text file is in the following format: <number of rows in body> <number of cols in body> <body that is rows*cols big> ex: 15 15 … | |
hello, i am making a project on search engine but i want to search link from database and i dont know how to make it can you help me? | |
[CODE]import java.awt.*; import java.awt.geom.*; import javax.swing.*; import java.awt.event.MouseListener; import java.awt.event.MouseEvent; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.JButton; public class Connect4View extends JFrame { DrawPanel canvas; Connect4Model model; ControlPanel myControlPanel, JRadioButton; public static void main(String[] args) { Connect4View w = new Connect4View(); w.setVisible(true); } public Connect4View() { setTitle("Connect4 solution"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setSize(500,220); setLocation(300,300); … | |
My project was already due, and incomplete but I would still like to better understand a few things. I have three classes. A Photo Class, PhotoAlbum Class, and a CommandLineMenu class. Each photo has a subject, location, date, and path. the PhotoAlbum is an array of different photo objects. I … | |
My project is digital attendance register for teachers. I wanted to display attendance onto the table datas of my jsp page. It will be fetched from a database and displayed. The requirement is to save them in a bean and pass that bean through hashmaps. And then display the attendance … | |
Hello, I need a pattern for the following use cases: I am using Java 1. [B]var so = nokia.device.load('abc','abc');[/B] 2. [B]var so = nokia.device.load("abc","abc");[/B] 3. [B]var so = nokia.device.load("abc");[/B] 4. [B]var so = nokia.device.load('abc');[/B] // 5. [B][I]var so = nokia.device.load('abc'); (Line is commentted)[/I][/B] /* function init() { if (window.menu) { … | |
Hi, please i need help with this code: public void addCompetitor(String firstName, String lastName) { // TODO Implement this method } and this: public void deleteCompetitor(String firstName, String familyName) { // TODO Implement this method } | |
This is a MenuBar class which is supposed to assemble a Menu bar.. basically i have some JMenus which contains some JMenu items here... and add all the JMenus to this class which is the bar (sorry if this is confusing) i am trying to write a public method to … | |
Another JTable question I am trying to resize the widths of the columns in a JTable. At present two of my column headings do not fit and the names trail off with ... I would need to resize them when the program is running to see the full column header … | |
Hey, for an assignment i am meant to write a function called delete as part of my ListLinked ADT, this is easy enough and here is my code: /** *deletes the element under w and places w over the next element *@param window w *@return the element under w *@exception … | |
I'm using a 2d array and am having to find the find the furthest two numbers apart and print both of them numbers. The text file I'm reading from has numbers from 0 to 194. Here is the code that I have so far. Any help with be greatly appreciated. … | |
Another day yet another assignment, which is why I am here. I come with 2 problems. 1. I cannot for the life of me figure out the printf function. I want to do be able to do this: Number Type Amount 1 type 2.00 2 type 12.00 Well right now, … | |
I have been running this application for some time and have just recently begun to receive this error message. I would be eternally grateful if someone could shed some light on what causes this error or it's possible sideffects. [CODE]04/27/2010 00:06:16.016 [ERROR] com.ghd.domain.GHSessionFactory.createSession(GHSessionFactory.java:129) - An open thread session is being … | |
Hi everyone, I'm trying to write an image editor in Java, one of the functions is histogram equalisation, but my code is producing a greyscale image instead :( Here is my code, any help would be greatly appreciated, ta. [CODE] private void histEqMenuItemActionPerformed(java.awt.event.ActionEvent evt) { BufferedImage inputImage = getImage(); BufferedImage … | |
I seem to be having an issue with a program I am creating. It should be a simple program that sends commands from a Java program to a Groovy script (whether the script be on the same computer or another on the network) but I am running into some problems. … | |
Hi , i have problem to run my code in eclipse !!! whene i run this code on netbeans it`s successful runs but on eclipse this error is shown : [CODE]Null Pointer java/lang/NullPointer Exeption[/CODE] [CODE] 1. import java.io.IOException; 2. 3. import javax.microedition.lcdui.Canvas; 4. import javax.microedition.lcdui.Graphics; 5. import javax.microedition.lcdui.Image; 6. 7. … | |
Hi ppl, Im have trouble returning the array in this program the error's im getting G:\sp.java:151: incompatible types found : char[][] required: char return (array1); ^ G:\sp.java:187: incompatible types found : char[][] required: char return (array1); ^ 2 errors [code]class sp { public static void main(String[] args) //calling of methods … | |
Hewlett-Packard today [url=http://www.hp.com/hpinfo/newsroom/press/2010/100426xa.html]announced[/url] updates to [url=https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24^1185_4000_100&jumpid=reg_R1002_USEN]Service Test Management 10.5[/url] and [url=https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24^1352_4000_100__]Functional Testing 10.0[/url]--its quality assurance tools for software testers--that the company says are now better equipped to help development teams find defects earlier and cover code for Adobe Flex/Flash, Ajax, Microsoft Silverlight and other rich client technologies. New in Functional … | |
Is there a way to add a mouse listener to an image for example when the image is clicked change the text of a label... :?: Any help would be greatly appreciated Thanks’ :) | |
Hello Everybody, I have stored images in ms access. The field name is "image" and the data type is OLE Object. I have stored an image with ".bmp" extension. In the database in the record it is showing "Bitmap Image". Now I am using JSP to retrieve this image and … | |
i am trying to deploy a .war file on my local server using sun microsystem's application server. the problem i am having is when i try to launch it in the address bar as: [url]http://localhost:8080/HelloServlet/[/url] it shows the [B]directory listing for/[/B] text on the screen. but when i insert /hello … | |
Hi, I have coded java project to predict stock market using Encog Neural Network. It is actually the java adaptation of this project in c# [url]http://www.heatonresearch.com/encog/articles.html[/url]. The problem is when i obtain data it works fine but when i click on train network a window opens and the program hangs … | |
We must multiply matrices that are comprised of the 3 x 4 matrix and 4 X 2 matrix. 1 2 -2 0 -1 3 -3 43 -3 4 7 2 X 0 9 = 18 60 6 0 3 1 1 -11 1 -20 4 -5 We must hard code … | |
Hi, I need to simulate a drag race between 4 cars ( a total of 3 races) to determine a winner based on the ratio between weigh/horsepower and I'm having trouble creating a determineWinner method. Here's my code so far: Track class: import java.util.*; import java.text.*; /* Author: Joey Turner … | |
Hi all, Could u pls tell me where can i get the full Source code for a user ctrl simple line chart in applet. I have tried in google also but i cant get the exact full source code which ll work. Kindly let me know specific link for tat … | |
hello tnx everyone this forum really helps me sometimes! can someone please tell me how i can convert a double number to nearest integer number? | |
Hello Is it possible to insert background image and colour in j2me without using canvas... we can create image using Image.createImage() bt it not work as background image.. plzz help | |
The End.