35,618 Topics

Member Avatar for
Member Avatar for VernonDozier

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 …

Member Avatar for VernonDozier
0
122
Member Avatar for vponnoju

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 …

Member Avatar for ~s.o.s~
0
238
Member Avatar for FSinister

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 …

Member Avatar for FSinister
0
127
Member Avatar for letlet_pogs

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....

Member Avatar for orko
0
181
Member Avatar for hariprasad787

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 …

Member Avatar for orko
0
110
Member Avatar for arshadshaikh

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 …

0
52
Member Avatar for Achupa

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 …

Member Avatar for stultuske
0
99
Member Avatar for dipsn
Member Avatar for stultuske
0
58
Member Avatar for Achupa

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 …

Member Avatar for stultuske
0
107
Member Avatar for neighbordave

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 …

Member Avatar for stultuske
0
137
Member Avatar for thillai

[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...

Member Avatar for stultuske
0
86
Member Avatar for janustt

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 …

Member Avatar for dickersonka
0
92
Member Avatar for animefun2

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 …

Member Avatar for jbennet
0
206
Member Avatar for ndumbo

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.

Member Avatar for orko
0
607
Member Avatar for IMtheBESTatJAVA

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 …

Member Avatar for orko
0
140
Member Avatar for VernonDozier

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 …

Member Avatar for VernonDozier
0
175
Member Avatar for The_Kermit

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 …

Member Avatar for brianlevine
0
120
Member Avatar for AdventureX

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 …

Member Avatar for dickersonka
0
79
Member Avatar for shanthiIrene

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 …

Member Avatar for masijade
0
98
Member Avatar for sbhavan

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 …

Member Avatar for Ezzaral
0
121
Member Avatar for madhusamala

does the Servlet Container call the destroy() method of a servlet class even if we don't define the destroy() method in Servlet?

Member Avatar for ~s.o.s~
0
66
Member Avatar for Grub

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 …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for rione

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 …

Member Avatar for Chaster
0
102
Member Avatar for Aashath

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 …

Member Avatar for darkagn
0
120
Member Avatar for efus

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 …

Member Avatar for stultuske
0
100
Member Avatar for bramo

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>

-1
46
Member Avatar for av11453

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 …

Member Avatar for Doctor Inferno
0
53
Member Avatar for priti_s

Please tell me message driven bean can be public or private? also for session bean, it can be public or private? Thanks

0
55
Member Avatar for neighbordave

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 …

Member Avatar for neighbordave
0
143
Member Avatar for dnmoore

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 …

Member Avatar for dnmoore
0
2K

The End.