32,204 Topics

Member Avatar for
Member Avatar for gokul

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 …

Member Avatar for jwenting
0
149
Member Avatar for freesoft_2000

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 …

Member Avatar for Sauce
0
297
Member Avatar for xesar

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 …

Member Avatar for talkfreelance
0
85
Member Avatar for gaston

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 …

Member Avatar for Dani
0
162
Member Avatar for lwings

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

Member Avatar for JeffHeaton
0
174
Member Avatar for Rete

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 …

Member Avatar for Rete
0
147
Member Avatar for akshayabc

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 …

Member Avatar for server_crash
0
189
Member Avatar for zoodaddy65

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 …

Member Avatar for zoodaddy65
0
288
Member Avatar for KosherTurkey

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 …

Member Avatar for alpha_foobar
0
195
Member Avatar for cman

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 …

Member Avatar for cman
0
493
Member Avatar for mark1048

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 …

Member Avatar for freesoft_2000
0
503
Member Avatar for sam1

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 …

Member Avatar for S.T
0
177
Member Avatar for server_crash

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

Member Avatar for server_crash
0
123
Member Avatar for jtf27

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 …

Member Avatar for server_crash
0
170
Member Avatar for MFal

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 …

Member Avatar for server_crash
0
387
Member Avatar for gokul

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 …

Member Avatar for freesoft_2000
0
258
Member Avatar for arwa

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 …

Member Avatar for server_crash
0
81
Member Avatar for xerop

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 …

Member Avatar for server_crash
0
290
Member Avatar for MFal

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, …

Member Avatar for server_crash
0
228
Member Avatar for actionwillspeak

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 …

Member Avatar for Sauce
0
541
Member Avatar for md16185

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

Member Avatar for JeffHeaton
0
167
Member Avatar for freesoft_2000

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 …

Member Avatar for jwenting
0
319
Member Avatar for rpratt

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!

Member Avatar for xerop
0
381
Member Avatar for freesoft_2000

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 …

0
125
Member Avatar for vex

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 …

Member Avatar for server_crash
0
187
Member Avatar for JavaFish

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 …

Member Avatar for JavaFish
0
348
Member Avatar for bsunkel

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!

Member Avatar for mmiikkee12
0
227
Member Avatar for pablo21

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

Member Avatar for proghelper
0
209
Member Avatar for jwenting

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

Member Avatar for freesoft_2000
1
1K
Member Avatar for Amor

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

Member Avatar for freesoft_2000
0
169

The End.