32,204 Topics
| |
I want to control the number of clicks in my button group which is inside DefaultTableModel of JTable. Like only one click for a certain Radiobutton. Suppose I have 3 radio buttons in a button group: 1) A 2) B 3) C If a user clicks A he can select … | |
can any1 pls help me with the codes for uploading images to my java prog.. and codes for DB connectivity with MS access... its nt connecting.... i need it asap..!!! | |
one fellow gave my full house address while chating i asked how is it possible he said he got it through ip address | |
hi may i know how to exit the mediabox? for example i create a group inside that is the mediabox but when i click the close button(custom button) it will go to the other group and thus exit the mediabox. current situation is that when i click the close button, … | |
Hi, I've read the rules for this website and i'm aware that we should not expect people to do our homework. But I really need help on this program.. and I'm not sure how to start it, and it's last minute help please. I'm suppose to do this using sorting … | |
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 … |
The End.