32,199 Topics

Member Avatar for
Member Avatar for xclaim

hi, i am using netbeans 6.7.1 with javafx inside i saw alot of example from sun using [B]import com.sun.javafx.mediabox.; and *import com.sun.fxmediacomponent.*;[/B]however in netbeans when i try to import either this 2 import it say that package does not exist can someone help me ? thanks alot

Member Avatar for kvprajapati
0
94
Member Avatar for timaquerra

Hi guys, Im looking for some tutorial which could illustrate development of database driven web services. I tried to search some through google, however no success so far. Thanks in advance!

0
63
Member Avatar for babeet

Hi, I launched my swing application.before it launched I opend a note pad.When my application got launched it is having textfiled which is blinking.but when we type something it is typed into the notepad. i need to remove the curser when the application is not having the focus. But I …

0
48
Member Avatar for tootaa

hi every body i have a problem whit the condition to check if the element is duplicate element or not this is the problem Duplicate Elimination Use a one-dimensional array to solve the following problem: Write an application that inputs 10 integers. As each number is read, display it only …

Member Avatar for mrnutty
0
923
Member Avatar for c.pentasuglia

Okay so far this is what i have, i havent really gotten very far but id like to get the layout all set before i try to tie things together. The problem im having is getting the JButtons colored. In order for my game to be like the game simon …

Member Avatar for Ezzaral
0
108
Member Avatar for JulzO

Is it posible to create an MDI Parent and child in Java as is done in VB. Net? If possible kindly help out....

Member Avatar for Ezzaral
0
57
Member Avatar for rukshilag

I am a beginner to java - my university course module requires me to do an assignment - that is choose a system and build one. i have chosen "Student Grading System" - this wont require a database. i need to just enter student marks and thereby determine that subject …

Member Avatar for Ezzaral
0
103
Member Avatar for shroomiin

Hey everyone. I am supposed to create a program that finds the area of a triangle...this i can do fine. My only problem is i was told that i need to use a get and set method to calculate the area. I dont exactly know how to use a get …

Member Avatar for striker3344
0
149
Member Avatar for saadismail85

[CODE]import java.util.Scanner; public class Draw { public static void display1 () { System.out.println("============================================="); System.out.println("| SELECTION |"); System.out.println("|===========================================|"); System.out.println("| Option : |"); System.out.println("| 0: Exit |"); System.out.println("| 1: Empty Shape |"); System.out.println("| 2: Filled Shape |"); System.out.println("============================================="); } public static void main(String[] args) { Scanner input = new Scanner (System.in); int …

0
74
Member Avatar for mmeclimate

Hi everyone, I am new to java and I wrote a program that does the following (using Scanner): Name: Last Name: Age: (More? Y/N): When the user presses Y, he/she can add more information. Then in the end, I want to print something like: The participants are: Soni Smith (30), …

Member Avatar for mmeclimate
0
150
Member Avatar for sciwizeh

Hello all, I have a new problem with my Paint app, I have a TYPE_INT_RGB buffered image, and I'm drawing a "preview" of it, but I want to be able to see through the "preview." Is there a way to make it appear transparent without modifying the actual image?

Member Avatar for sciwizeh
0
177
Member Avatar for moyphus

Hi, i need to read the database connection properties,driver class, username and password in java code...How can i read that using some properties....

Member Avatar for masijade
0
100
Member Avatar for P00dle

I have to split a line that has been stored in a String[], and then place the parts in an ArrayList. Currently I am doing the following: (vehicles is the origional String[], details is the String, detail_split is the ArrayList) [CODE]for (int y = 0; y < vehicles.size(); y++) { …

Member Avatar for P00dle
0
632
Member Avatar for jrosh

I want to create some simple reports using mysl data through java. I found that there are many reporting tools. But they are very complicated to handle for me. I like to code to generate reports .Is there a way ? any easy libraries? Or help me with any simple …

Member Avatar for masijade
0
42
Member Avatar for sravan953

Hey All, I am working on a Java project for school. To make my project better, I wanted to integrate Python into it... like what I wanted to do is: [LIST] [*]You run the Python program [*]You get two options: [*] a) View source code [*] b) View output [*](Output …

-1
89
Member Avatar for beanboy

hi,.. I'm trying to start a java application and I want to use crystal reports XI as reporting tool,....pls help me with a start,....do i need to download any other sdk for that other than crystal reports XI and JDK?.... and also tell me some beginner tutorial links 4 using …

-2
57
Member Avatar for ShuiYinDeng

The Question is : Three stacks can be used to sort a list of numbers. Assuming stack in holds the input list of numbers, stack out is to hold the output list after sorting the numbers and temp is used during the sorting process. The sorting algorithm follows. 1 set …

Member Avatar for masijade
0
107
Member Avatar for COKEDUDE

After I ask the user to enter a number here System.out.println("Enter a number"); number = scan.nextInt(); I would like print the id of each salesperson that exceeded that value and the amount of their sales. I Also want to print the total number of salespeople whose sales exceeded the value …

Member Avatar for gunjannigam
0
3K
Member Avatar for Sandar Khin

Hi all, May I know about the usage of collapsible pane at java application.Pls help me.Thank in advance.

0
64
Member Avatar for COKEDUDE

Can someone please explain why this division is not working. This is very simple division but for some reason it won't work. double Percent = Correct / Questions; [CODE]//**************************************************************** // Quizzes.java // // Calculates quizz scores. // // // **************************************************************** import java.util.Scanner; public class Quizzes { public static void main(String[] …

Member Avatar for COKEDUDE
0
2K
Member Avatar for ramjeev

On firing an event at a keyReleased or actionPerformed(button click).This event fires continuosly whenever I click.Say,for 10 clicks, 10 events are in queue.I want to clear remaining 9 events while first processing. -thanks

Member Avatar for ramjeev
0
71
Member Avatar for AngryOne

Hello I'm begining to learn Java and I'm trying to convert from a While loop into a for loop. Sadly I'm just not quite grasping it... I understand the loop is here [CODE]while (n * n > Math.pow(2,i)) { i++; } [/CODE] but it's not quite as simple as changing …

Member Avatar for cms271828
0
108
Member Avatar for llemes4011

I'm working on an rpg game, and one of the big issues that I had (have), is having the players actions change around other objects. For example, normally the "a" key would attack, but when next to a person, it would trigger a dialog sequence, and when next to a …

Member Avatar for llemes4011
1
79
Member Avatar for Chillawowa

An interesting question came across my mind: If it is possible to convert a percentage to a Grade(A,B,C,D, or an F). Firstly, there is an easy method to convert a percentage to a Grade; by using an If and Else loop. However, are there also other methods with which this …

Member Avatar for BestJewSinceJC
0
125
Member Avatar for theStruggler

I want to write a program to conduct a binary search and return all the occurrences of a number to the user. I succeeded in coming up with a binary search method but I don't know how to make return all the occurrences of the number. Here is my code …

Member Avatar for theStruggler
0
114
Member Avatar for Bladtman242

Hi Guys, I am new to java and I need some help:) First of all: I admit, I did not write this, I re-wrote a bit of it for my needs, and therefore may not be able to fully understand parts of it. The thing is, the script accepts only …

1
80
Member Avatar for itsmekarthik

please help in writing to excel sheet using java program. Actually I know how to write to a text file but I don,t have any idea about this writing to an excel sheet. I would be grateful to you if you help me.

Member Avatar for masijade
1
36
Member Avatar for trinity_08

Modify NUMBER CONVERSION so that it can perform a conversion in the case when the base is a number between 10 and 17,(11..16). Number systems with bases greater than 10 require more symbols. Therefore, use capital letters. For example, a hexadecimal system requires 16 digits: 0,1,…,9,A,B,C,D,E,F. In this system, decimal …

Member Avatar for peter_budo
0
71
Member Avatar for redmaverick

I am a bit familiar with java, but I am pretty ambitious and I want to build a simple book store. I need some suggestions and help. I can create a simple homepage using HTML which has links, navigation menu etc. on the homepage I am good at GUI programming. …

Member Avatar for lelah
0
143
Member Avatar for mu42774

Hi, would someone please help me with the following: I would like to implement the Round-Robin scheduling algorith for the below code. I am really facing a problem whenever i try to implement Round-Robin scheduling algorith in this code. Your prompt action and support is highly appreciated and I am …

Member Avatar for Johny cash
2
2K

The End.