35,617 Topics
![]() | |
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 … | |
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 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 … |
The End.