36,051 Topics
![]() | |
:?: can anyone tell me how to recover the data from hard disk after pressing shift+delete | |
Hi, I'm trying to make a very simple java tester program. So, my program asks the user for the name of a method, and then runs it (doing a bunch of tests in the process) Does anyone know the name of the method(s) that will allow me to do this? … | |
does anyone know of a good java compiler that can make executable files. I want to be able to run my programs that are not applets without having to open my IDE everytime to execute them. I want to be able to asign them an icon and put them on … | |
hi everyone, i have a final year project for my BS computer science. can anyone suggest me a project on aspect oriented programming?? other suggestions are also welcome....all i need is a brief(or long) description of what to prepare. thanks | |
Ok, what the heck causes these stupid exceptions. I can't find hardly any documentation on it. I've tried running my mortgage calculator on a different computer and it won't show up because a unsupportedflavorexception. I know it's something about the major or minor version, but what do you do about … | |
Sorry for troubling everyone with my questions these past few days, but I keep bumping into all these weird little problems. The code below, is a sort of minor reflective program that runs methods after reading classes. [CODE]try { //getclass is a class named "Example" [B]Object instance = getclass.newInstance();[/B] //Is … | |
ok.. now that I know about the JOptionPane, I have one more question. How can you create a real executable program from the java code that u write. IT can be executed through JCreator or another java creator, but how can you make it so that its an actual java … | |
yes, there's an area of Java I'm almost a complete novice in (so far, I'm going full steam ahead :cheesy: ). I've the following code to filter out non-numeric input from a JTextField (which is meant to contain a timeout interval in minutes, that's why). [code] private void dumpNonNumericInput(KeyEvent e) … | |
I know how to run tomcat on MY computer, I just click the start button. My question is, how can I upload tomcat to a webserver and make it run forever(or at least until I click stop). | |
I've been making a reflective program, which examines class files, and then creates an XML file that holds all it's values. But, I've been trying to now parse these XML files I've made, and I've been trying to do it using DOM. Unfortuanetly I have no clue as to how … | |
To all the GUI Masters, I have two questions, 1) How do I make my frame start/appear in the middle of the screen ? 2) How do I disable the control/menu box i.e the maximize,minimize,close options on the top left corner of the frame ? Wating for a favorable Reply. … | |
Please take a look at this link, and let me know what you think of it. If you have any problems with it, I really want to hear about them: [url]http://wizardsolutionsusa.com/MortgageApplet/MortgageApplet.html[/url] | |
Hi, Can any one tell me how to use a Java Object in a JSP file i.e I have written a connection class and want to instantiate an object of this class so that the JSP can connect to the database. Do I have to import it or include it … | |
Hi, I have connected to a MS Access database but when I try to insert data through the java interface, it gives an error which is [MICROSOFT][ODBC MICROSOFT ACCESS DRIVER] TOO FEW PARAMETERS.EXPECTED 2. I dont know y its giving me this error. All the parameters r correct. Can any … | |
hey i am try to design webserver by using java /C++ programming or any programming language so if any one interesting to assist me i am attaching source hear .you can use plugs in to access source code by using any programming language | |
Hai all, I am heading to develop the Chatting Application by using SIP + JMF I am having few doubts in the Java Environment.. 1. How can make .exe file in Java..? ( I need how to create Installable application in Java) 2. How can i import JMF API Specifications … | |
I have aurora that keeps on popping up and I downloaded the program and ran the scan... Can you help me from here, thanks Logfile of HijackThis v1.99.1 Scan saved at 9:51:02 PM, on 6/13/2005 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: C:\WINDOWS\System32\smss.exe … | |
Hi everyone, I have two rather silly questions about URLs but please bear with me for a while. Usually when you use the URLConnection class to read from a website you don't get prompted for authentication but if you are trying to post something to that website you will usually … | |
Hi, I am new to this forum and admittedly am not a technically gifted person but I recently and stupidly unwittingly downloaded hacktool.rootkit virus onto my computer. Now the pop-up ads are unstoppable. I've scanned with ad-aware, spy-bot, panda, and trend micro's house call and I still have problems. Thanks … | |
hi martin here i took programming classes in college but i only remember java best. i found this site from google alerts, its so huge its confused me already. i tried to post on one of the mbs but it wont let me only here can i post... it say … | |
Hello, I have a javascript code (a part of it is in php) that populates a pull-down menu. It works perfectly well with Explorer, Netscape and Firefox under Windows. But impossible to make it work with Explorer or Safari under Mac!!! Is javascript different between windows and mac? Here's the … | |
I'm new to Java and have just learnt a little on Arrays. However I'm not very sure how I should apply them. I have a main method which has a switch case. If the user chooses 1, it will prompt the user to enter the daily expenses for a week. … | |
Hi, I was wondering if anone here could help me out a bit with my Reflection problem. My problem is that when I try to find the methods inside a class, not only do I get its methods, but all of its inherited methods or something like that. So if … | |
I am new to Java & in my college we r directly being taught the applets. So i have a very simple set of questions since i have not done core Java.please answer them in relation to applets(I have a background in C/C++ also)----- 1) While calling inbuilt functions in … | |
Greetings all, I am, obviously, new to Java. I am in my second Java class at UOP, and quite honestly, they seem to believe in letting us teach ourselves! Enough of my rant. I am currently working on expanding a mortgage calculator program, such that it needs to open a … | |
Okay. I am very new to Java and I am very excited about it. However, I have hit a brick wall. I have a couple of questions about my code. 1. How can I make the program print a blank space in between the ****RESIDENTIAL ....***** and Max number of … | |
I have made this car but am wondering how I would get it to move across the screen either on load or by button click any suggestions? import java.applet.Applet; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class NewCar extends JApplet implements ActionListener, Runnable { Container con = getContentPane(); JButton moveCar … | |
Have you noticed that there are way more C++ developers than Java developers here in this community. See the comparison of the two primary forums: [CODE] Forum On-line members Threads Posts C and C++ (50 Viewing) 2,941 14,622 Java (18 Viewing) 1,212 4,976 [/CODE] Is it true that there are … | |
hi every one i am doing this coursework where i have to design two class one is: Point2D, that models a two-dimensional point. The second class implement a class Oblong(rectangle) from a given specification and will require the use of the Point2D class. 1. A Oblong specifies an area in … | |
Ok, it's like this: I can't have any class file downloaded from my website, for personal reasons. A user could view the applet like this: applet.html then change the url easily to this: applet.class and have my program that easy. Is there way I can secure this somehow??? | |
Hi Not sure if this is the right section of the forum for this question. I am trying to shorten the background in this header I am working on. I do not know java at all so I am less then a newbe perhaps a wanabe (smile) here it is … | |
In my code i take an inputted number, which could be in hex with letters, and put each individual digit into a seperate space in an array. To change the letters in hex to numbers in decimal, i tried doing it two ways: (a is my array name, and i … | |
Hi, i am heading to develop one chatting application in JMF with JAIN-SIP API.. In stead of refering some sites, they talked about Apache Ant and CVS... WHats that..? for what purpose we need that in the Java Application Development..? How to use that in that..? i saw some reference … | |
hii all ..plz can any body help me in writing a java program that solve a public pathroom problem(a sharing pathroom for boys and girls in which no both of them can appear at the same time in the pathroom ) the program must solve the problem and synchronize between … | |
Hello I do not know java however, I know that with java you can log IP addresses. If someone could, would they please write a script that could be embeded into an html file. This sript should collect the IP address and store it in a file. Thats all. Thank … | |
I am writing a program to calculate a numeric palindrome, and to do that i have to reverse the digits of a number, and add that to the original. The best way i can think of to reverse the number would be to put each digit individually in an array, … | |
Hello, I have a quesiton regarding my code. I thought it would be cool to try to implement the reliable UDP file transfer that everone does as a college student. I'm new to java, and im having some problems. Whenever i try to connect with the client, it refuses the … | |
I know HTML, but not Java or Javascript... Is the .jar file the class or are they 2 entirely different things... Also, do ya save the applets as ".jar"? I'm new to programming.. | |
Hi everyone, I have a question about the use of properties. You see usually if you wanted to add a property you would do this [code] Properties systemProperties = System.getProperties(); systemProperties.setProperty("http.proxyHost", proxy); systemProperties.setProperty("http.proxyPort", port); [/code] But the thing is i have heard now that this property class may be deprecated … | |
Hi, I'm teaching a Java course this fall and was wondering if anyone has a favorite Java textbook. I'm planning on using [U]Java Methods[/U], but I'm not totally in love with it yet. Anyone have any input? It would be greatly appreciated! Thanks! | |
Hi everyone, I am trying to set the properties so that i can reach URL's using the Java URL class but usually i use this if there is a proxy [code] System.setProperty("http.proxyHost","proxy"); System.setProperty("http.proxyPort","80"); [/code] but after visiting some sites they said that if i want to connect to a URL … | |
Ok I would like to use Deck in a third class. Deck myDeck = new Deck(); Then in paint I try g.drawString("" + myDeck[1].suit, 50,50); It says 'array required, but Deck found' If I try Deck[] myDeck = new Deck(); I get 'incompatable types' I hate asking for help BUT … | |
Hi I have searched this site for help with this and used an example of a lottery numbers program. However, I need to modify it slightly but can't seem to get it right. I would like to be able to generate random numbers between 0 and 100 (maybe negative oness … | |
Heya all, Is there a way to get the date and time that is set in the Cmos and not the date and time which is set in Windows. My Windows date and time is usually wrong. Thanks! | |
Hi everyone! My name is Paul I have an OO project that I need to complete by the 15th of August and I have attempted to start it but i'm now stuck. If anybody can help me in anyway possible I would greatly appreciate it. Please find the specification below. … | |
[B]Problem[/B] Due to a rather annoying and very old bug in JTable you will never get a horizontal scrollbar on a JTable even if the table is wider than the JScrollPane you placed it in. According to the bug report this is due to an error in the handling of … | |
Hi all, I am new to Web programming, most of the time have done GUI development in C++/MFC and played a bit with Java/Swing. I have read about DHTML and its ability to enable interactive Web applications. Before delving into DHTML programming I would like to know what are the … | |
EMERGENCY I TRIED WRITING A PROGRAM THAT: THROUGH CLASS DAY SETS,PRINTS,RETURN WEEK DAY THE PREVIOUS AND NEXT DAY ,AND SHOWS THE CORRESPONDING DAY OF THE DAY IN A WEEK LIKE : [COLOR=DarkRed]DAY:5 IS SUNDAY DAY: 34 IS WEDNESDAY ......ETC...........[/COLOR] [COLOR=Navy]PLEASE HELP HELP I NEED TO SUBMIT THIS IN 4 DAYS. … | |
Hiya, Does anyone know of linking Java with Fortran under Windows OS, preferably Windows XP? Can anyone give a short example including code? I have found pretty good examples of using Java-JNI-C/C++ works pretty well. I am using Dev-C++ compiler. I look forward to hearing from someone. Thx Rony | |
Hi everyone, Consider this URL. "http://forums.devx.com/newthread.php?do=newthread&f=104" Some URLs have something that are called escape characters("?", etc") Are these characters supposed to encoded using the URI class that has a method called toASCIIString() that returns the escaped characters as a US ASCII format or simply by direct connection or create a … |
The End.