32,199 Topics
| |
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? | |
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": … | |
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..!! | |
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 … | |
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 … | |
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 … | |
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 … | |
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 . | |
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", … | |
[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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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: | |
[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); … | |
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() { } … | |
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 … | |
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 … | |
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? | |
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, … | |
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. … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
this code shows the second oval only when maximize is pressed otherwise only the one oval is shown and the first oval does not go to the getHeight() where as the one appearing after maximizing repaints correctly [CODE][/CODE][code]import javax.swing.*; import java.awt.Graphics; class drawpanel extends JComponent implements Runnable { int i=10,startx; … |
The End.