31,001 Topics

Member Avatar for
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
960
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
218
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
55
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
303
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 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
185
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
43
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
138
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
117
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
78
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
212
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
171
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
252
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
129
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
110
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
67
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
114
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
158
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
146
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
94
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
96
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
153
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
Member Avatar for NewOrder

[CODE]import java.io.*; class DecToHex { public static void main(String[] args) { Console console=System.console(); System.out.println("Please enter a decimal number"); String input; input=console.readLine(); int dec; dec=Integer.parseInt(input); String hex=""; int remainder; String hexChars="0123456789abcdef"; if(dec==0) hex="0"; while(dec!=0) { remainder=dec%16; hex=hexChars.charAt(remainder)+hex; dec/=16; // what does that mean? } System.out.println(hex); } }[/CODE] what does dec/=16 in …

Member Avatar for NewOrder
0
113
Member Avatar for jemz

hello can you help me i make a program that will determine palindrome words using array...how can i determine if my words are palindrome... example if i input: radar == radar-->this is palindrome so if i input this notice--->this will print not a palindrome please help me here is my …

Member Avatar for jemz
0
380
Member Avatar for pptech

simo1.java [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class simo2 extends JFrame implements ActionListener{ private JRadioButton red; private JRadioButton yellow; private JRadioButton blue; private JRadioButton green; private JRadioButton magenta; public simo2() { setLayout(new FlowLayout()); setVisible(true); setSize(400,250); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); red=new JRadioButton(" red"); yellow=new JRadioButton(" yellow"); blue=new JRadioButton(" blue"); green=new JRadioButton(" green"); magenta=new …

Member Avatar for tong1
0
7K
Member Avatar for kdmuk10

I am trying to do a program which does simple maths by scanning using provided three items (two number and an operator) then let the program do the calculatin and printout the result. The way i have attempted it so far (below is the code) the value of the operator …

Member Avatar for kdmuk10
0
161

The End.