35,618 Topics
![]() | |
Hello everybody, Infact this Alarm.java (attached) using sun proprietary API sun.audio classes, now these are deprecated so i want to replace it with java se 6 classes. This Alarm.java is beeping the PC but not able to run alarm.au(attached)audio file and gives Following exception Exception Occurred....java.lang.IllegalArgumentException: No line matching interface … | |
Hi, I have buffer with data, which I am presenting as JSP/javascript page. I want to send the data to the printer in totally different format of the one presented on the screen. The size of the buffer is not known, and it may take some pages- I want to … | |
Hi guys, Posted about a week ago saying I was re-learning Java and slowly making my way from basic console stuff to 2D graphics. Well after a good deal of learning about applets and threads, drawing 2D shapes, and double buffering, I decided to remake "Pong", at least a crappy … | |
I have my game [url]http://blogfriendlyzone.webs.com/wof/WOF.html[/url] and i tried to share it with some online friends but some complain that they can't even spin the wheel or they can't enter a consonant (after spinning wheel):-O . It won't accept their consonant from the keyboard like it should. Is there something i … | |
I am trying to create a postfix evaluator that uses my IntStack and IntNode class. I cannot figure it out. HELP PLEASE! public class IntStack{ private IntNode top; private int counter; private IntNode pos; public IntStack(){ top = null; counter = 0; } public boolean isEmpty() { return (top == … | |
In class I have to create a java program that has to use the user method. Here is my code. 1 import java.text.*; 2 import javax.swing.*; 3 import java.io.*; 4 public class Fahrenheit3 5 { 6 public static void main (String [] args)throws Exception 7 { 8 String inFahrenheit; 9 … | |
hey guys, I want to develop a web application using Java but i don't know where to start from. From where i should start learning and what all should i learn?? | |
hi please i deperately need help been trying to compile this code on netbeans IDE but it keeps giving me error on the output code is: package gameapplication; import java.awt.Color; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Vector; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; /** * … | |
Hi this is a decompiled version of a guessing game which i am required to submit in assignment. can anyone please make it run anyhow. i hav also attached sample from which i generated code any help will be appreciated. Thanks [code=language] // Decompiled by DJ v3.11.11.95 Copyright 2009 Atanas … | |
Hello, I am working on a code which should execute any *.exe file in java. I have used a sample code which works for UI based application but do not work for command prompt applications like cmd.exe or mysql.exe. Please advise for the improvement. Thank you in advance. Here is … | |
im working on this java program: Create a Java program that creates six random numbers between 1 and 10 and for each randomly generated number it displays the text describing the number rather than the numerical value. For instance, if the number generated was 3 then it should display three; … | |
[CODE]double s = 1/(noOfPhases + 1);[/CODE] When I print the s the value I get is zero however when i print noOfPhases the value is 3. If i do the following [CODE]double s = (noOfPhases + 1);[/CODE] the value returned is 4. Why can I not not do 1 divided … | |
Hi all, how to do xml mapping in tomcat5.5 i have an xml code here just tell me what should be thier in blank space <web-app> <servlet> <servlet-name>firstservlet</servlet-name> <servlet-class>........</servlet-class> </servlet> <servlet-mapping> <servlet-name>firstservlet</servlet-name> <url-pattern>.............</url-pattern> </servlet-mapping> </web-app > thanks | |
Hi, I have deployed my folder called Library in web apps tomcat5.5, i can find my folder in the tomcat manager, but when i click its showing this error: requested source in not available (Library) As i am new to this i dont know how to proceed please help me … | |
Hi all, I have deployed my folder in tomcat5.5, while running its giving error xml validation disabled. so please help me how to run my program.. regards ishlux | |
I have these code below for the button : [CODE] import java.awt.*; import java.applet.*; import java.awt.event.*; public class Coba extends Applet { Button button1; public void init() { Font font = new Font("TimesRoman",Font.BOLD,16); setFont(font); button1 = new Button("Level Easy"); resize(250,250); LevelEasy lvleasy = new LevelEasy(); button1.addActionListener(lvleasy); //button1.addActionListener(this); add("Left",button1); } private … | |
I am doing a cash registry program and I want to use a multidimensional array. May someone give me a sample code for it. The sample code must be as simple as possible just for my reference. Reply will be appreciated very much. | |
hi i hav problem with ms acess conectivty and Jsp plz help thanks in advance | |
Hi all, I have installed tomcat 5.5 , now i want to run a simple servlet programme, on web browser, how do i deploy my folder into tomcat 5.5.....i am giving [url]http://localhost:8080[/url]. its giving page cannot be displayed......... please help me out. | |
Hi all, I need help regarding following problem. I'm getting HTTP get responses from a program(Kannel) periodically. The HTTP is in the following format. "http://localhost/sms.php?A=10&B=abc" I want to know whether is it possible to get the values of A & B using a Java program (not JSP) as soon as … | |
I am trying to setup a tomcat server in eclipse galileo java ee to test a servlet. I have web tools installed also. I created a server but when I go to my web browser and go to [url]http://localhost:8080[/url] I get an http status 404 error. My server is started … | |
I have a cardlayout of pictures but i want to know if i can produce some special effects like they have in MS Powerpoint where the picuture slides can fade in/out or swirl into or out of the panel or display text words one at a time, etc. Is it … | |
Hello everyone.. My question is how to display data from my database. So when I open my index.jsp file, the data already display on it, it doesnt have any form. Is servlet can do it, or just do it in index.jsp file. I prefer with servlet, but I don't know … | |
I need to write few class which are to be used to validate the data. I know some validations which we will use generally. if anybody knows more please help me by providing the list of some more validations. The validations which I know are as follows: String: length isAlpha … | |
Hello, I have been working with ASP.NET for quite sometime now. I wanted to know if we have DataBinding functionality in JSP too? | |
hi to every body.me is new in java.in future i want to built a software in java. so i want to b a java java java master.is someone who can guide me ? is? | |
Hi, I have a program that draws a line between two points when the user clicks at two points on a canvas (added in a frame) and clicks Repolot button. Each time i click the button the previous line is gone. But i want that when i click the button … | |
![]() | Hi, I'm trying to use the request.getParameter("myInputField") on Page A. The problem is that the input field "myInputField" is on Page B. Does anyone know of a way to retrieve from Page A, the value of the input field that is on Page B? Thanks, -Ash ![]() |
guys i need to develop a smal web site using abouou tools and must have a working data base. the problum is i only know about oracal.so i need to kbow about jsp (how to creat a jsp file,how to connect a data base,how to handle a data base ...blah … | |
Hi guys, i've been stuck on one part of an assignment where i have to call a number 6 times from a different method/class. I thought maybe doing a for loop calling its 6 times but i'm not sure how to call the method into the other method, this is … |
The End.