35,618 Topics
![]() | |
I have a program for which I am designing a help menu. The program allows you to add squares, ovals, and other shapes, and move them, rotate them, etc. I'm setting up some HTML pages that explain how to do different tasks. So when the user pulls down the help … | |
Hi All, I have wrote a java program, that displays all the drives available in the system. I used File.listRoots() However, this method doesn't perform any security operations(such as read and write access) and displays all the drives in the system. I want the program to display the only drives … | |
Hey people. I need someone to tell me what they think of this. I've been trying to write this small java program to search for mobile phone numbers in a document. The document is a .csv file, but thats not too relevant. The numbers are Irish mobile numbers in the … | |
helo guyz...do you know any sites to recommend where can i find java exercises (exercises w/ answers)..,,,it is our sembreak,,,and i want to do other stuffs bout programming to develop my mind more in programming.... | |
Hi, I have developed an application using netbeans(Swing) on windows platform. It is working fine. But when I try to run the same application on macintosh platform. But the application window doesn't appear properly. Menus and other parts are not visible. Only when the mouse cursor is moved over the … | |
Actually i need to configure jboss standalone-soa-4.2.0.GA_CP02. And I have 1. JDK 6 (v1.6) 2. Ant (v1.7.1 ) 3. JBoss Application Server 4.2.0.GA or JBoss ESB Server 4.2.0.GA I can run the server by setting path variables. I am stuck ... when i am going to build ant using ant … | |
Thank you for your previous help. However I have another question: I have three classes MovieRating class, Adult class, and Child class. The Child class and Adult class both have a method canWatchmovie(MovieRating mrating) in the Adult class the method always return true while in the Child class we must … | |
I want guidence t o hash the URLs and save it to database. | |
Hi, I have a method that checks whether Objects in a Collection are Human and whether they are of certain age. I have three different classes for Human, Adult and Child. the code for the method is in a different class called Cinema class. the code is as: //THIS METHOD … | |
I've been working on this code for two days now and I still can't figure out what is going wrong. I'm very new to programming and we just started learning about creating objects and constructors so I appreciate any help I can get. I have to turn in a set … | |
[B] Hi [/B] can u explain j2ee components....once i built , how can i join with existing apps... component having no gui,then how component can be used... | |
I need to display the values entered by the user in the Names array and the Salary array. However, I only need to display the Employee name and Salary if it is over the average. The problem I am having is that it runs the program fine but doesn't compare … | |
Ive been looking for the right compiler that i can use with java applet to create an online game so does any one know the best compiler for java applet? and where i can find it in a free download from a website? or a list of compilers that i … | |
HI my package reads file from txt format only. it does not read .pdf or .doc file. is there any single java library that opens any kind of file format as stream and then reads or manipulates its contents. | |
If I have an output of any double or integer that needs to be rounded to a certain number of decimal places, how would I code that? As always there are many ways to do this but, again, as always, I'll be looking for the simplest way to do such … | |
OK, this is a follow-up to this thread, which I have marked solved. [url]http://www.daniweb.com/forums/thread152797.html[/url] I changed things from GIF to PNG and that seems to solve the saving issue, but there is a new issue. I'm trying to create a semi-transparent circle as an image, which can be saved. The … | |
Hey guys! I'm trying to build a program that will evaluate boolean expressions. For example: a>(b>(a^b)) or maybe ¬a>(a^b). It doesn't really matter if you know boolean logic or not since i'm ok doing the calculations. The only part i'm struggling with is parsing the formula. I need to read … | |
Hey people, I'm at uni and we have lab sessions for Java. In my lab session I have been given an exercise to complete however I need help because I don't know where to start!! Can anyone help me? If you can I will post back with the task to … | |
I have a java program to open a webpage in IE. And so I have this code - Process p = Runtime.getRuntime().exe(“C:\\Prgram Files\\Internet Explorer\\iexplore.exe” “[url]http://google.com”);[/url] p.waitFor(); This works fine in Vista when UAC is disabled. The process keeps running until the webpage is closed. With UAC enabled - it opens … | |
I have to update 5 tables simultaniously which are inter related with each other. My requirement is if all tables are updated successfully then all the updates will be commited. if any one of the query is failed due to some reason all the queried should be rolledback. The way … | |
does the Servlet Container call the destroy() method of a servlet class even if we don't define the destroy() method in Servlet? | |
Hi, Is it possible to compare files by hash code? If so how do I do this. I am attempting to locate duplicates. Simply calling the file.sashCode() generates a hash code but if a duplicate file is located the hash code if different, depending on name and location. Naturally you … | |
i really need help on this, i need code for this project, please help me, thanks in advance.. (Power Set) Given an input set with entries separated by commas, output all the possible sets that can be generated from this set. Sets are described in the file power.txt The lines … | |
Hi I have a LinkedList of class called Room. Now i want display elements that i stored in that class . i also implemented toString() in my Room class which returns string. The code i tried is below but its not working . i dont know the reason . can … | |
Hi. If given an arraylist in an interface like this: [code] interface Dictionary { public boolean hasWord(String word); public ArrayList<String> suggestions( String word ); public void addWord( String word ); } [/code] How do I use it? If I try to use it as a normal arraylist, I get the … | |
Currently am doing my project on designing of IVR VoIP based system. After byilding the PBX using asterisk,its time now to develop the application Is any one with java source code to that task..please send that to me my e-mail is <snip email> | |
Hi All, I am new to programming. just moved from QA. I had a urge to become a s/w programmer. i did. but got lot of tensions since i have been put in realtime. have to learn java,javascript,jsp and javabeans. i am just wondering how logics would come for me … | |
Please tell me message driven bean can be public or private? also for session bean, it can be public or private? Thanks | |
Hi all, first time user on this website and I'm very new to Java so I'm kind of stuck on this I would appreciate any help I can get. My assignment is as follows and I got everything except one last part that I cant figure out how to write … | |
I have to create a temperature conversion project using a method and driver class...... i did it b4 put only as one file , i started the driver class but when i compile i get a couple errors; the errors i get are: Degree.java:30: illegal start of expression public double … |
The End.