32,204 Topics

Member Avatar for
Member Avatar for ecksdee

Hello... I am pretty new to Java and I am experiencing some frustration with loops. I have a few problems here and I hope that you guys could point me in the right direction. My first problem is with the looping in the program below. No matter what is input …

Member Avatar for danzz143
0
172
Member Avatar for Mylsamy

Hi all, I am using getBytes() method in Java to encode the String, When I encode the String some string values does not Encode.. The Code is String psString ="ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö"; psString = new String(psString.getBytes("UTF-8")); I am Using Netbeans tool for Java. In Windows XP OS , it converts in to …

Member Avatar for musthafa.aj
0
763
Member Avatar for java_programmer

I am trying to get a Console using System.console() method, but it returns null. Please let me know how to get a Console object? Is their other criteria need to be satisfied?

Member Avatar for NormR1
0
963
Member Avatar for ttunstall07

I have to write this applet for my CIT 130 class. I understand that you can not give solutions nor do I want you to do my homework for me I just need some pointers. The questions ask to "Write an applet that draws a house with it's door and …

Member Avatar for NormR1
0
110
Member Avatar for AlexN

Hey guys, I've created a java applet which calculates PPI. my problem occurs when I add it to a webpage on dreamweaver. I get the following error message: [QUOTE] load: class calculator.java not found. java.lang.ClassNotFoundException: calculator.java at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown …

Member Avatar for tong1
0
233
Member Avatar for iparkin

I lost the state/design view in NetBeans 6.9 my project now only shows in the edit/source view. How can I get back the States/Design view that existed when I created the project as a JavaFX Business Desktop Application?

0
56
Member Avatar for Clawsy

Hi, I just struggeled all day how can I build JavaFX Application made with visual composer plugin in Nebeans. Every other application worked but this doesn't. When I build it says can't find [I]javac[/I]. Of course, javac .exe is not located in the JRE... [CODE] Cannot run program "C:\Program Files\Java\jre6\bin\javac.exe": …

Member Avatar for iparkin
0
304
Member Avatar for mayank.dyl

m unable to run executable jar.I created one on swing based prgm using command: jar cmf my.mf demo.jar *.* .....problem is this that it does not show everything added on Jframe..it just shows a frame and no buttons,textfields,etc which i have added... waiting for a good response..!!

Member Avatar for Killer_Typo
0
87
Member Avatar for johndoe444

Hi, I tried to deploy the books example. But in the deploy descriptor it says: [CODE]<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <display-name>books</display-name> <listener> <listener-class>com.sun.books.listeners.ContextListener</listener-class> </listener> <servlet> <display-name>books</display-name> <servlet-name>books</servlet-name> <jsp-file>/books.jspx</jsp-file> </servlet> <jsp-config> <jsp-property-group> <display-name>books</display-name> <url-pattern>*.jspx</url-pattern> <el-ignored>false</el-ignored> <scripting-invalid>false</scripting-invalid> <is-xml>true</is-xml> </jsp-property-group> </jsp-config> </web-app>[/CODE] The only jspx file is books.jspx. After the application is …

0
72
Member Avatar for bkendall

I am trying to debug a form that is basically a popup where the user enters a date and then two more dates are generated based off of date and the user can then edit those dates. When the user tries to save the second set of dates the "Element …

Member Avatar for arrgh
0
1K
Member Avatar for glamourhits

Here Is My Code i am done with it and it works fine but i want to make this run in loop . like i want this program to ask Would you like to enter another Student Grade <Y/N>... Here Is the Code .. If Any 1 Can Help Plz …

Member Avatar for glamourhits
0
203
Member Avatar for cjmartin

In my application I use a class that extends a JDialog. When my application encounters certain errors this diaglog should popup with the appropriate message. The problem I have is that after the message appears, when I click the OK button, the message reappears one or sometimes two more times …

Member Avatar for cjmartin
0
154
Member Avatar for AhmedGhazey

How I connect to the internet my project is to make java application make automatic login to my mails accounts(Yahoo gmail and so on) given password and email address and download messages from my inbox any one can help me .

Member Avatar for JamesCherrill
0
44
Member Avatar for diyez treze

hi can you please improve my code.. thanks hope you can all help me... here's my codes: import java.util.Scanner; public class NumberToWord { public static final String[] DIGITS = {"one", "two", "three", "four", "five", "six", "seven", "eight", "nine"}; public static final String[] TENS = {null, "twenty", "thirty", "forty", "fifty", "sixty", …

Member Avatar for jon.kiparsky
0
141
Member Avatar for sanam2010

[I]Hello every body,[/I] I have a question, pls help me, thanx in advance. I am searching the response of these two questions: ?If we need to have a framework for a bank (banking business)it is better we use .net technilogy or java? (ehich one is preferable?) [I]Regards[/I]

Member Avatar for masijade
0
119
Member Avatar for omg0000

i have a .jar file that i want to run one certain computers on the network. Since these comps are changed out sometimes i wanted to add the java jdk that is up to date, the jdbc connector, and my .jar. I also have a batch file that copys and …

Member Avatar for stultuske
0
79
Member Avatar for Kshawn

I want to call a 'C'api called BUICInit() in vendors dll from java using JNI.but the generated function name using javah is java_classname_API().so I kept my own dll and from my dll i called vendors dll.. I used loadlibrary()/getprocaddress()..it is working but is there any possiblities with out using getprocaddress …

Member Avatar for Kshawn
0
228
Member Avatar for Sunshineserene

Hi, I have a problem with my codes now. I've actually extracted the column of information that I need from a text file. However, now I need to convert the output of the file to something that I specify, but I don't know how to do it. It is actually …

Member Avatar for JamesCherrill
0
172
Member Avatar for Avasulthiris

Hi everyone, I'm pretty new to Mobile Development. I'm a final year student and this is my first major project that might just get me a job for next year. So I'm very keen on getting it working! Pleeease help :) As far as I understand - I need to …

Member Avatar for jfoo111
0
258
Member Avatar for Mylsamy

Hi all, I am using Netbeans for Java and MySql to Store my Datatbase, I get inputs from User and Encode the String input and Store the Data in my Database , My Problem is Some Strings are Stored as '??????' in my database. I am using code for Encoding …

Member Avatar for Mylsamy
0
130
Member Avatar for Agent Cosmic

Is it possible to read an audio file, like an mp3 song, and see the details of the sound like decibels, pitch and bass during different intervals of the song? Also, is it possible to do this with Silverlight (C#)? Thanks.

Member Avatar for JamesCherrill
0
111
Member Avatar for Mueni

i need help . what are the codes for importing data from access and creating a text file which you save to a certain name. and this text file gets specific information by search. And can all that be done in one button?? Thanx:confused:

Member Avatar for peter_budo
0
68
Member Avatar for jjhames

[CODE] Make a java program that will accept 10 int as an array[10] index=10 and find the following using these methods find the mode,median,mean method... /* here's my code.. */ import java.util.*; public class List2 { //instance variables private int items[]; private int count; static Scanner cons = new Scanner(System.in); …

Member Avatar for javaAddict
0
126
Member Avatar for jjhames

Make a java program that will accept 10 int as an array[10] index=10 and find the following using these methods find the mode public int mode() { } find the mean public double mean() { if even add the two median.. } find the median public double median() { } …

Member Avatar for masijade
0
159
Member Avatar for madhub2v

pl could help.. I m a fresher , learnig Java. I wat to know what happening in the IT industry(programing dovelopment). could you please tell me any source to learn "how they are devoloping software projects from begining to the product release. for example for a website dovelopment(Using Java) mostly …

Member Avatar for madhub2v
0
157
Member Avatar for Greece

Hi I'm Beginner in a programming at all and I planned to start with Java I read alot about programing in jeneral and I know the outline about it .. as looping and conditionals but I don't start to write any things by myself .. I mean I don't have …

Member Avatar for Greece
0
95
Member Avatar for hazeeel

ATOM 1430 CB ASP A 187 [B]54.776 12.063 20.348[/B] 1.00 50.88 C How do I store the above in bold into a 1x3 arrray after using StringSplit?

Member Avatar for hazeeel
0
98
Member Avatar for maldemer

I need to do a pretty standard dining philosophers setup for my class. (I assume most people on here know what this problem is... if not look here: [url]http://en.wikipedia.org/wiki/Dining_philosophers_problem[/url]) We need to have a variable number of philosophers between 2 and 8, and avoid deadlock and starvation. In my design, …

Member Avatar for NormR1
0
156
Member Avatar for pi_lord12

I am creating a game in which I import images from files to represent characters, etc. I have created a class called Contents which represents anything that can be placed on a tile of the gameboard. A subclass of Contents (by several levels) is Wizard, to create a wizard character. …

Member Avatar for pi_lord12
0
143
Member Avatar for cjmartin

When a user Scans a barcode representing a # sign while focus is on the fromComboBox, code is used to scroll through the list. It scrolls through the list fine, but then it moves to the next field on the screen, because the scanner (that is what we use for …

Member Avatar for cjmartin
0
105

The End.