35,618 Topics

Member Avatar for
Member Avatar for fragtech

Hey guys I have been having lots of problems getting my animation to not flicker. I have read that double buffering is a good way to stop the flickering but everything I have tried doesn't do anything to help. If you could please help me understand what I am doing …

Member Avatar for quuba
0
230
Member Avatar for ceyezumma

Hello all. The Java Date and time classes are difficult. I think I have to use java.sql.Date which is a sub class of Date but is not a date unless the time is normalized to zero. so I've heard. I would like to work with my studentDOB first by collecting …

0
86
Member Avatar for charchar88

Ok so this is part of a project I'm working on. I am dealing with DNA strings that only consist of the letters ACGT. I have to parse these strings into a file and be able to read them back out of the file. However when putting them in the …

Member Avatar for charchar88
0
252
Member Avatar for chinee

i need to call an array called team into a bubble sort that swaaps 3rd 4th ist and 2nd place in order. in the code i will list the code for the out come of the match which is good no errors there but i need to get the bubble …

Member Avatar for chinee
0
125
Member Avatar for sirlink99

Is it possible to communicate with java to a usb that has been converted into an antenna, that sends and recieves signals to/from a remote controlled car?

Member Avatar for sirlink99
0
89
Member Avatar for zmoez

Hey Everyone, I'm new to this form, and I seem to like it so far. Anyways, I have this Project that i'm nearly done with but in the sub-class I'm getting 0.0 as an output instead of the actual calculation. Below is the project and the code: You are requested …

Member Avatar for tunlinaung
0
5K
Member Avatar for Web_Sailor

Hi :) I want that one of my fields in database should be redirected to some URL. For Example: Sample Table: 1111 2222 3333 4444 5555 6666 7777 8888 9999 1100 Suppose I want my 3 field to be redirected to a URL when a user clicks on the output …

Member Avatar for javaAddict
0
67
Member Avatar for AmIAyTi

Hey:) I'm using JSTL and i created a table that has five colums(iprodID,name,desc,price,image) with data from a database.What i want to do is to add another column with checkboxes for each row and allow the user to select as many rows of data he/she wants from the table. Below the …

Member Avatar for javaAddict
0
942
Member Avatar for samueal

Hi, I am using HTTPRequest and HTTPResponse to get the page source of a site. and i'm getting a warning message "Enable JavaScript to view your site". Is there any request i should add to enable JavaScript

Member Avatar for samueal
0
205
Member Avatar for bharath54321

i want to validate whether given file is text file or not using regex could you please give example

Member Avatar for masijade
-1
56
Member Avatar for bharath54321
Member Avatar for sganderson

Hi, I try to use sb.append in my jsp page, but it is not successful. There is no error message, but when I open the browser, it only show: [B]Not a member yet? Register here. It is FREE. :[/B] Please help... thanks!! [CODE] <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib …

Member Avatar for javaAddict
0
337
Member Avatar for himmat.m4

Hi, I upload xls file by using my application but whenever try to download same that time it's not come in xls format. There display some squares and special characters. So help how to download that file in xls format. Thanks in advance.........

0
60
Member Avatar for niranga

Hi, I am working on a project which requires to update a JEditorPane or JTextField simultaneously by multiple clients. It is something like this. [B][1]. There are several users( i.e a group) with the same application which contains a JEditorPane. [2]. There is a group leader for a group( note: …

Member Avatar for JamesCherrill
0
279
Member Avatar for suryakantk

HI, I am very new to jasper.so can you please help me to solve this error. Error: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. Cannot cast from double to Double value = (java.lang.Double)(1 - (((java.lang.Float)field_Current_year_cost.getValue()).doubleValue() / (((java.lang.Float)field_Current_year_price.getValue()).doubleValue() * 0.93)));//$JR_EXPR_ID=31$ 2. Cannot cast from double to Double …

0
40
Member Avatar for coolbeanbob

Hi, I am getting a null pointer exception with the code below. From what I have read, it seems like something is null, but I do not understand how this could be a problem? The error is occurring on line 205 of the StudentContainer class. (This is at the very …

Member Avatar for jon.kiparsky
0
714
Member Avatar for MissZuri

Create a non-GUI-based Java application that calculates the payroll for a department in an organization. The application should display text that requests the user input for the name of the department, the number of employees in the department, and the average salary for the employees in the department. The number …

0
42
Member Avatar for carinlynchin

here is my one class (controller) and the other (GUI) what is happening is inside the SearchListener inner class for the button, I am calling a method from the controller class (i have already tested the parameter sent and that part works fine) but when i click on a code …

Member Avatar for carinlynchin
0
3K
Member Avatar for APCompSci

Consider the following two classes. [CODE]public class Dog { public void act() { System.out.print("run"); eat(); } public void eat() { System.out.print("eat"); } } public class UnderDog extends Dog { public void act() { super.act(); System.out.print("sleep"); } public void eat() { super.eat(); System.out.print("bark"); } }[/CODE] Assume that the following declaration appears …

Member Avatar for jon.kiparsky
0
2K
Member Avatar for blahbla

need some help with this lab this class is to draw a line with *'s i guess in the command prompt since it uses System.out to print i was given the function names and the comments that tells me what the function does i wrote the code in the functions …

0
100
Member Avatar for veena1555

Hi friends i have dell inspiron laptop with i3 core processor..having Oracle 10g as database. i could n't run JDBC programs in my lapy. so many ppl spoke to me that dell lapy doesn't support type1 driver.. So i tried for third party type 4 drivers(OJDBC14.JAR) it is also not …

Member Avatar for veena1555
0
90
Member Avatar for turt2live

Ok, So I'm amking a game and need walls so you can't walk through walls (This is a top down view game, screenshot [URL="http://turt2live.servebeer.com/game_stuff/walls.png"]here[/URL]), although, my calculation for seeing if you are going to hit a wall slows down the game with the 3 walls I have (I stopped making …

Member Avatar for turt2live
0
195
Member Avatar for chester1908

Hello all. I got a project which includes many classes.One of them is a class extending JPanel which is used to load an image as a background for my JFrame. Now,there are 2 other classes,instances of which are used to represent people interfering with each other or moving within the …

Member Avatar for mKorbel
0
144
Member Avatar for coolbeanbob

I am using a keylistener and I need to know when the backspace and delete keys are used. Does anyone know how this is done? I have not found anything online.

Member Avatar for niranga
0
1K
Member Avatar for bibiki

hey there, I am trying to make my first connection to a mysql server with java. I took the following code from another thread: [CODE] import java.sql.Connection; import java.sql.DriverManager; public class Connect { public static Connection ConnectDB() { Connection conn = null; try { String userName = "root"; String password …

Member Avatar for bibiki
0
166
Member Avatar for techie929

Hi, I want to make a JLAbel clickable. For example if a user click on the jlabel he is directed to some url like [url]www.google.com[/url]. Any help would be appreciated. Thanks.

Member Avatar for JamesCherrill
0
97
Member Avatar for vishalbhavsar

hi all, i tried following code for session management bt i dnt knw where it went wrong? can anyone please help me solve the problem. i want to restrict user going on the prevoius page after logging out when he clicks on the browser's BACK button. ****************************************************************** 1) i created …

Member Avatar for vishalbhavsar
0
406
Member Avatar for olsane

hey i have a little problem with this app, and i hope somebody can help me. i have to create an application that watch over your appointments. i have the JFrame up and running, but i have some issues with the buttons: when "New appointment" clicks, the data for the …

Member Avatar for mKorbel
0
100
Member Avatar for loveman47

I'm trying to make the ball move to a specific place then falls into the bottom of the app and this is an quick image I made to make it clear [URL=http://img845.imageshack.us/i/sssssv.gif/][IMG]http://img845.imageshack.us/img845/6651/sssssv.gif[/IMG][/URL] and this is what I've been doing , I know it's a mess :S [CODE] private float ballRadius …

Member Avatar for loveman47
0
127
Member Avatar for warlord902
Member Avatar for warlord902
0
1K

The End.