32,199 Topics
| |
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 | |
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! | |
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 … | |
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 … | |
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 … | |
Is it posible to create an MDI Parent and child in Java as is done in VB. Net? If possible kindly help out.... | |
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 … | |
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 … | |
[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 … | |
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), … | |
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? | |
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.... | |
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++) { … | |
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 … | |
| 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 … |
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 … | |
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 … | |
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 … | |
Hi all, May I know about the usage of collapsible pane at java application.Pls help me.Thank in advance. | |
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[] … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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. … | |
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 … |
The End.