35,618 Topics
![]() | |
I'm trying to make an app that will memorize 1 point on the screen and continuously click that point (running on a timer) until it is manually stopped. I've noticed that the mouse functions require you to be "inside" a component for it to recognize the mouse position or do … | |
This is a mini-paint program which uses class Point. It is very basic and allows a line to be drawn, then altered by its size and color. The issue that I am having is when I change color or size, all of the previous lines change with it? [CODE] import … | |
[code=html]<html><head> <script language="JavaScript"> function update() { confirm("Are you sure?(Yes/No)"); document.forms[0].submit(); } </script></head> <body> <form name="form1" method="post" action="controller/servlet"> <input type="submit" name="event" value="Add"> <input type="button" name="event" value="Update" onClick="update();"> </form> </body> </html>[/code] here, on the click of both buttons "Add" and "Update",the control should go to the servlet.While clicking Update, the script runs … | |
I am doing a Java project for cash registry. I cant italicize or bold a text. Can someone help me. | |
Hi All, i using Hibernate to develop a project for my company, i getting jvm out memory error often, every 5 refresh. please help me to find out what is causing this. Thanks | |
I need to access the information in an excel file, my only problem is, all the forums i read use the ODBC bridge via the data source tool buillt into windows. Since i am running windows 7, i can only assume, i get an error such as the setup routines … | |
Hello all, I've been working on a project where I wish to retrieve two sets of information from a MySQL database using two prepared statements. When I try to do this I get a blank screen, but the first query is successfull executed. Any suggestion would be greatly appreciated. Thanks. | |
hi all i am creating a webproxy in jdeveloper. i am getting all the codes written in core java ..... starts with public static void main()... i want to use with jsp . how can i do that? thanks n regards vij | |
(jsp) Is it possible with static hashmaps to store the logged in users (without using db) in a webapp and retrieve all users list later? plz give me an idea for implementation. or is there any other better way? thanks, guess me! | |
Hi, [B][I am experienced][/B] I would like to create a virtual 3D world. I am familiar with SDL and 2d graphics programming. I am experienced with C++ and I know a little Java (I have enough programming experience to learn a language quickly). I am familiar with the traditional game … | |
I need help to write this code of java for a lotto game . ANd I dunno how to do anything pls help. Its Due in 2 days. Can someone write this code for me . The pdf file is the instructions The lottoprogram file is wher i have to … | |
Hello, I'm trying to get my first RMI Program working, and I keep getting a Timed out exception. I believe that the error is occurring in the "bind" method... Does anyone know what the problem might be? Here's the code and the error: [code=Java] /** Server */ import java.rmi.registry.Registry; import … | |
Hello, for the project I'm working on, I need to be able to access say, a JPanel object that was created from the execution of a Jar file, and use it inside another class outside of the Jar file. Any ideas? Thanks | |
I am writing some code which already gets the pixel array from an image, I then alter the pixel values. How do I now display this new pixel array as an image? I hope someone can help. Thank you | |
hi , i m looking for a project which contains some graphics,lots of functionalities, and most of all is something different from the normal management projects (online test,hote; or lib mgmt etc). I have thought of something related to "Stock exchange" or Artificial intelligence project(which can predict behavior of situations-"brainstorming" … | |
Hi, I am having issue with the Scanner class, it seems to fall through to the next line, depending on how I call it from my class. I cannot track find a pattern to this. Except it tend to happen more when calling the nextLine() from the Scanner class. Some … | |
Hi, I have one question. You know some applications can be minimized to the lower right corner and with a hot key (e.g. ctrl+F1). Once the hot key is pressed, the application is activated or some event is activated. I wonder how to do that in java if there is … ![]() | |
Good Day All, Not sure if I should post this request here or under the SQL Forum. I am studying JAVA and my code is for JAVA, but my query is regarding the SQL prepared statements to be used in my JAVA code. I have a program called SingleUser.java. The … | |
hi all java application which is made of awt and threads can be call from jsp is possible or not . i am having one application which is in swings and i want to call that application from jsp so that i can run or use this swing application in … | |
how can i print a triangle in java.Its shape is like this A B C D E F G H I J K L M N O i have to use ascii code for printing alphabets. | |
package javaapplication1; import java.util.*; import java.io.*; public class GO { public static void main (String[] args) throws FileNotFoundException { Scanner inFile = new Scanner (new FileReader("grades.txt")); PrintWriter outFile = new PrintWriter ("output.txt"); int q1,q2,q3,q4,q5; double g = 0; int ctr = 0; double ave; String name; double cAve; String grade; … | |
I wrote a java class to connect to database (DBManager.class) and then use JSP to call the java class to get the output that is read from the database. Here, i use Apache tomcat. it gives me an error when i try in my browser here the message error: [QUOTE]org.apache.jasper.JasperException: … | |
hi helper, i wanted to create web app without using any IDE and test in tomcat....where should i put my class files and jsp files and xml......what is manifest ? plz tell me directory tree structure thanks bean boy | |
This a portion of my code with 2 sets of 2d array [CODE] public class Form2 { public static void main(String[] args){ int[][] dayForm = { {25,15,28,17,19}, {31,21}, {23,24,19,18}, {15,19,22}, {14,17,13,18}, {8,12}}; int[][] boardForm = { {10,18,17,17,15}, {16,9}, {13,19,15,25}, {11,10,8}, {14,17,19,13}, {11,4}}; final int SIZE = 4; int[] totalday = … | |
Hi, I am using Weblogic 9.2 MP3, I want to find Programmatically IP, Port & Server State of Weblogic. Let say there is a page named index.jsp deployed on domain mydomain. So after weblogic is RUNNING, I can access that page by hitting URL [url]http://1.2.3.4:9876/mydomain/index.jsp[/url]. I want the IP(1.2.3.4), Port(9876) … | |
hi guys, I am doing online form project, I get problem with navigation. the user can forword and back the page . I need to prevent user from that. I mean that once user gets new page , he can't get the prevouis page , but it asks him to … | |
Got a small detail problem that I cannot get to understand myself. The program, see attachments draws dots on the screen. There is a dot class for the details of the dots to be stored, that is size, colour, shape (square or round) Problem is with the colour...Cannot get other … | |
Edit: Title - java access denied on graphic file Edit: I didn't realize i didn't finish typing the title before submitting. I put my applet on the web but it says not initialized and the error is complaining about my graphic. Am i not allowed to have graphics? How can … | |
Hi I found a class ReadingPixels someone wrote on the net which given an image it dispays the x,y,r,g,b values as the mouse is over the image. I have a separate class I want to add the panel to. I can add the panel to my frame however I think … | |
Can somebody show me how to create a simple two column for strings? I need a sample code. Thank you for those who will help me. |
The End.