36,051 Topics

Member Avatar for
Member Avatar for pankaj_Salwan

hi!! all i have a problem in jsp file...my file has a javascript function which is using xmldoc.load(mytext1.xml) function..when this file along with other files is bundled as an ear file and deployed on server .. it is not getting loaded in memory..bt as a standalone application it is working …

0
54
Member Avatar for Stonehambey

As far as I've been able to discern. The "cannot find symbol" compile error is a result of one of 2 mistakes. 1) The class name is spelled incorrectly 2) The class isn't in the same directory as the class trying to instantiate the object or the class isn't in …

Member Avatar for Stonehambey
0
111
Member Avatar for ronpar2584

Hi I am writing a simple java program in which i am facing some difficulty while writing the text in the file. Aim of the program is to add some debug message in the empty catch block. I am able to add the message but the text in the file …

Member Avatar for ~s.o.s~
0
791
Member Avatar for Eggplant

Hi, I you probably have much annoyance with homework help, but I'm a first year student in high school doing a AP comp sci class. I'm currently working on my eighth program, the past 7 were all solved by me, and I helped others with it, so I'm not trying …

Member Avatar for Eggplant
0
390
Member Avatar for 0-Roisin-0

I have only ever done the very basics in Java and really need help. I have to read innumbers from 1 to 20 and then print true if all the numbers are present and false otherwise. I don't know where to start!

Member Avatar for BestJewSinceJC
0
133
Member Avatar for aveltium

Hi! I'm new to Java. I need to make an array like: int b[] = {0,1,2,3,4,5,6,7,8,9}; Is it possible to use a loop to generate an array like that? I don't know if I'm asking the right question, so I will try to explain it: [code=java] class test0{ int a=0; …

Member Avatar for aveltium
0
146
Member Avatar for Mr.UNOwen

Hello, So I'm thinking of creating a few programs that don't use the provided components like the Button class. Basically I want to create components like a button, text field... etc, but with their own look and feel to them. I tried overriding methods of existing components and I tried …

Member Avatar for Mr.UNOwen
0
133
Member Avatar for PhiberOptik

Hey guys, I am trying to delete a file. I don't understand why its not working. [CODE=java]public void Refresher()throws IOException { File theFile=new File("C:\\theFile.txt"); theFile.delete(); }[/CODE] I launcher it with [ICODE]Refresher();[/ICODE] I googled around and followed a tutorial. (My code is compiles correctly) Thanks PO

Member Avatar for PhiberOptik
0
354
Member Avatar for tanha

Hi. I want ot use the TinyMCE editor in my jsf code, but unfortunately there is error in using the init function, and also in eclipse when I copy the folder of the tinyMCE, there is warning sign on the folder. can any one help me through this issue ??? …

Member Avatar for ~s.o.s~
0
237
Member Avatar for BestJewSinceJC

I managed to delete the only up to date saved copy of an important Java project I had (I know, I know). I have the compiled .class files and I know it's possible to decompile them. Can anyone direct me to any references or anything to help me do this …

Member Avatar for BestJewSinceJC
0
132
Member Avatar for Rameses

This is ClickMe program where it's suppose to change button text once the user clicks the button. Although, program does successfully launch and pops up the "Click ME" button but once it's clicked nothing happens, it doesn't change anything. Any help would be appreciated. import javax.swing.*; import java.awt.event.*; public class …

Member Avatar for BestJewSinceJC
0
93
Member Avatar for kc8pdr
Member Avatar for chackboom
0
140
Member Avatar for Joaoalex7

Hello I'm having some trouble writing to text and object files in java. Basically i need to delete the contents of the file before i write the new information on it...which i'm not being able to do. well this is what i have in terms of code for the text …

Member Avatar for BestJewSinceJC
0
709
Member Avatar for BobTheFish

My applet runs fine when it's in the same directory as the html, but when I put it in another directory, Java console says it can't find the file. When I copy-paste into my browser the address I'm specifying for 'code' in my applet tag, it finds the file without …

Member Avatar for BobTheFish
0
81
Member Avatar for AnilKumar_502

Hi All, I am new to .Net. I am converting a source which is in .net 1.1 to .net3.5. In 1.1 those people had used scritps for calendar popup. Let me show the sample code first In JSCalendar.aspx ---------------------------------- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="JSCalendar.aspx.cs" Inherits="JSCalendar" %> <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for Ramy Mahrous
0
142
Member Avatar for sheff21

My friend and I are working on a school project and our hope was to have a Java program take a zip code from the user and then connect to weather.com (or any other web site) and look up the local weather. I assume this is possible but I cannot …

Member Avatar for ~s.o.s~
0
159
Member Avatar for confusedGirl

Hi all I have a [COLOR="Red"]miniproject [/COLOR]I need to submit tomorrow ,but I didn't finish it.. Please if any member have a time to check it for me,,tell me so I can send my whole work... I really will appreciate your help Please help me ....Iam so sad its 50% …

Member Avatar for BestJewSinceJC
0
202
Member Avatar for Alishaikh

Hello everyone, I am AP COMPSCI A for my school and I trouble with this program. In the program you have to enter numbers from 1-100. And print a chart of how many numbers were between 1-10, 11-20 and so on. Like this: 1 - 10 |* 11- 20 |**** …

Member Avatar for ~s.o.s~
0
117
Member Avatar for nymph

i am doing some network programming: i want to be able to switch lights in my house either on or off through the network,WAN.The lights are connected to a computer through the paralel port.i.e the computer is at home.i have achieved the control of the lights at LAN level. my …

Member Avatar for nymph
0
126
Member Avatar for robertmacedonia

Hi to all, I am stuck with these problem, so I must ask for a little help. I have this "postfix notation" expression " 5 9 + 2 * 6 5 * + " ,written in a file "izrazi.txt". So , I am supposed to read it from the file, …

Member Avatar for robertmacedonia
0
431
Member Avatar for omesanni

I am having a with problem displaying the contents of the hql query from the database. Basically I created entity classes for each table in my database. I have an index.jsp page which has a form in it. When the form is submitted the details are passed to a servlet …

Member Avatar for ~s.o.s~
0
170
Member Avatar for whisper_101

Seasons Greetings Everybody! I want to use a Textfield to dispaly details of link information to my website so that others can copy and paste these details upon their website. I want to prevent visitors from being able to type anything in this field altogether. Does anyone know how? Thanks

Member Avatar for ~s.o.s~
0
84
Member Avatar for srs_grp

I have a string as follows: 'mnp1011000jie' I want to retrieve contents of the string as follows: 1st field: mnp 2nd field: 101 (which signifies the binary representation of 5) 3rd field: 1000 (which signifies the binary representation of 8) 4th field: jie I know that binary integer requires 4 …

Member Avatar for verruckt24
0
174
Member Avatar for Gabriel Arun.R

Hi friends, im new to java. so im facing lot of problems in developing applications. I need all ur help. pls give ur support to ur friend. I dont have much support in my side

Member Avatar for verruckt24
0
292
Member Avatar for rude04

can anybody help me with my program tutorial?? my program is like a software tutorial for math,science,physics etc.. it starts with it starts with displaying a pdf file and after that displays 10 questions about the lesson.. the problem is after the first question is answered i need to click …

Member Avatar for rude04
0
528
Member Avatar for randomFIRE

Hi, How can I have a JOptionPane that has multiple fields for entering text. Does anyone know if this is possible, if so could you please give me an example of how to do this? Thanks

Member Avatar for puneetkay
0
112
Member Avatar for vagas

How to display animations and use animation to click a menu in my application developed using java ?

Member Avatar for puneetkay
0
60
Member Avatar for srs_grp
Member Avatar for llemes4011

Hi, I'm working on a program that needs to store user info, then can retrieve it at any time, even after it has been shut down and restarted. Is there any way that I can do this? I tried looking online, but couldn't find anything....

Member Avatar for ~s.o.s~
0
96
Member Avatar for kaushalya_uom

Hi! I'm building a spreadsheet in Java. I want to read a string and read the integers in it to do calculations. Such as =2+(3*5)/4 Is there any method in string class to get integers.

Member Avatar for kaushalya_uom
0
100
Member Avatar for orgilno1

Hi, I'm a new to JAVA Developing and I just found one package that I can't decode it in any way that i know. the package is called net.roydesign.app. My question is 1. What is this package used for? 2. Where can I get this package? Thank you

Member Avatar for orgilno1
0
92
Member Avatar for bahr_alhalak

Hi , how are you? please, could you help me to solve this question? which is a part of the compitision's questions. I am waiting for your respond!

Member Avatar for verruckt24
0
142
Member Avatar for srs_grp

Suppose i have a string which contains some binary data as follows: "bac01010111pqr14 " how can i retrieve binary data from this string using java?

Member Avatar for BestJewSinceJC
0
229
Member Avatar for George2

Hello everyone, I am looking for open source message queue implementation in Java. Does anyone know where can I find a 100% pure Java implementation of message queue with basic features? It is better an implementation which does not rely on other components and can be used as a utility …

Member Avatar for BestJewSinceJC
0
433
Member Avatar for PhiberOptik

Hi Guys, I have a game controller and I was wondering if it's possible to write a java program to manipulate it, so if I press left on the d-pad I can assign a key to it. If you could link me to a tutorial or something along those lines …

0
119
Member Avatar for confusedGirl

Hi All As a beginner, I design a small programm using netbeans(6.1). Actually I designed one class and connected it with several JDialog ,but I find some difficulty with search engin and creating the LinkedList.(how can I connect between them ) main question : if I search fort he customername …

Member Avatar for Ezzaral
0
343
Member Avatar for girishgupta

Hi all Web 2.0 is yet to peak and we have Web 3.0 upon us with cloud computing and all, ain’t it exciting? Open source, the delivery of IT over the Internet as services, what a total smashing idea and what is more awesome is the golden opportunity to learn …

Member Avatar for peter_budo
0
165
Member Avatar for abelarion

Hey, I have a quick java question. I am building a Java application that uses an SQL database. I was wondering if it was possible to have this desktop application use the internet to connect to an SQL database setup on a remote server? This way the program data would …

Member Avatar for abelarion
0
118
Member Avatar for bhushanpatil

I am working on project "to develop distributed database system with help of Mobile Agent in java". Can you help me?I want resource of information on mobile agent implementation. Provide pdf link or web link .And if you have more info please help me....

Member Avatar for peter_budo
0
105
Member Avatar for joewazen

hi all, can you help me find a way to start a new internet explorer window in a new process? for the moment i am using window.open in javascript but its using the same process no matter how many windows i open while what i need is one process for …

Member Avatar for ~s.o.s~
0
79
Member Avatar for dipesh1987

Hi! i am trying to develop an application using java in which i want that i should be able to send messages from my application to mobiles and i m using a modem.please reply! i want the code in java for it.

Member Avatar for stephen84s
0
76
Member Avatar for k2k

i have done a read() and a write()... after running write() the read() won't read the newly wrote data until i compile again. my guess is that the newly written data doesn't get saved until i compile again.. please if anyone knows how to make it saved so the read() …

Member Avatar for puneetkay
0
316
Member Avatar for afshinsalam

i need to add code that the stock controller can view the outstanding order can any one helpe me please

Member Avatar for peter_budo
0
24
Member Avatar for Gabriel Arun.R
Member Avatar for George2

Hello everyone, I have written the folllowing scripts, just want to output "Foo is true." when the property foo is set to true. But when using Eclipse to run the simple script, there are something wrong. Could anyone help to check what is the wrong with my shell scripts? Source …

Member Avatar for vinu09
0
212
Member Avatar for PhiberOptik

Hey guys, I'm trying to use MySQL and I have a server setup and ready to go and I'm 100% sure it works. I read a tutorial page and tried to find more but I couldn't. What I did was drag the .jar file that came in the Connector/J.zip (3.0) …

Member Avatar for peter_budo
0
723
Member Avatar for rude04
Member Avatar for peter_budo
0
155
Member Avatar for rajshree13

I have one form and user can enter name,dept,ticketno,email and suggestion and upload file and on submit button the form should directly to my mail box where table should be generated and user data is displayed and also path should be displayed where the uploaded file is get uploaded. Please …

Member Avatar for sillyboy
0
64
Member Avatar for VernonDozier

I have a problem that I have "solved" in that it now does what I want, but I'd like to know why it works. I have a JFrame. Within that JFrame I have three JPanels, which I'd like the user to be able to adjust. I would like to be …

Member Avatar for VernonDozier
0
152
Member Avatar for llemes4011

Hi, I'm on Christmas Break and am bored out of my mind so i decided that i wanted to write a program that generates a SOLVED Sudoku board, i.e., it has all the numbers filled in. I'm going to write a program later to turn it into an unsolved puzzle. …

Member Avatar for llemes4011
0
183

The End.