32,204 Topics

Member Avatar for
Member Avatar for Web_Sailor

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 …

Member Avatar for javaAddict
0
130
Member Avatar for student_cs

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..!!!

Member Avatar for masijade
0
72
Member Avatar for hdurina

one fellow gave my full house address while chating i asked how is it possible he said he got it through ip address

Member Avatar for The Dude
-1
565
Member Avatar for xclaim

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, …

0
59
Member Avatar for StarZ

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 …

Member Avatar for P00dle
-3
105
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
927
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

The End.