36,051 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
134
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
75
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
585
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
63
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
107
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
96
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
72
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
50
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
954
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
113
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
60
Member Avatar for atuleshchand

Hi Fiends, Does anyone have any idea of how to upload a ZIP file or any other file and perform some string manipulation on that file and return the new file for downloading through JSP on Jakarta Tomcat server. Thanks Atul

Member Avatar for peter_budo
0
40
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
107
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
152
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
77
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
151
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
178
Member Avatar for varsha21

my code runs fine with ie6 and ie7. but a drop down list is not working with ie8. I am not using any CSS. Can any one help me plzz. Thanks.

Member Avatar for masijade
0
70
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
104
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
639
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
45
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
92
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
59
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
113
Member Avatar for ankie

hello everyone...i am new to this community as well as jsp technology.I am working on a project using hibernate and spring and we r supposed to deploy our project using tomcat and jsp technology. I dont have much experience using Eclipse either. We are supposed to make an application on …

Member Avatar for peter_budo
0
236
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
66
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
74
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
111
Member Avatar for cms271828

Hi, I'm looking for some J2EE ideas, I have JSP hosting (1G hdd), and also access to MySql database, as well as perl/php, etc. I currently have a chess app, allowing users to play chess in 3D against each other or the computer that takes advantage of a few servlets …

0
79
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
81
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
130
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
115
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
82
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
38
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
74
Member Avatar for alsoumhi

Hi guys , I am trying to convert a web page to pdf , I have searched about this a lot but I did find any answer I have one program to convert using YAHP converter but I couldn't understand its parameters used in the program [code=Java]String fontPath = getParameter(args, …

Member Avatar for Airshow
0
112
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
153
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
Member Avatar for brittomyth

Hi friends i'm having a problem .... Task is i'm having record in the table [table name samp there i'm having names alone]....... I want to fetch the table records in the listbox ....i can able to extract the records but unable to fetch the records in the list box …

0
60
Member Avatar for Ecliptical210

Hi guys, so I have this project where the requirements are as follows. Create a class called Car, which serves to represent a particular vehicle at a car dealership. Consider that each car has the following properties, entered by the user (all value ranges should be error checked): Sticker price …

Member Avatar for Ecliptical210
1
146
Member Avatar for OffbeatPatriot

I'm making a game and when it starts up I want the game to load a file in it's jar and set the display according to the contents of that file, I can do that just fine. But if the file doesn't exist(the first time the program runs) or something …

Member Avatar for OffbeatPatriot
0
81
Member Avatar for alreem

hello Can u help me ? write an java program that outputs the following pattern. The program shuold prompt the user an odd number of lines (limit 1 to 11) . For example, if the user prompt the number of the lines is 9, then the output should be: + …

Member Avatar for VernonDozier
0
129
Member Avatar for kenji

Hi, I'm having a rather strange problem with the Java compiler. I'm trying to compile a simple hello world program and I can compile it perfectly within NetBean but when I try to use the commandline javac command I get a error. The error says the there is something wrong …

Member Avatar for JamesCherrill
0
98
Member Avatar for rukshilag

i would like to know what are the functional requirements of such a system as i am planning to build one. this has to be as simple as possible. please help. Thank you

Member Avatar for peter_budo
0
65
Member Avatar for cute.sridhar

There is any java Language Translation API. If so means, please indicate that API.

Member Avatar for cute.sridhar
0
90
Member Avatar for aksn315

welcome .... I'm starting learn java langauge , it is very intresting langauge .... I have this problem and I need your help... (( [COLOR="Green"]Write a java applet that will animate an analogue clock. The clock should look like the one shown in Figure 1. The background color of the …

Member Avatar for jasimp
-4
305
Member Avatar for spiritsad

[COLOR="Red"]please can some one soluation this programmm???? i need tomrrow[/COLOR] Your task is to implement a program that displays the calendar for a specific month in the Hijri year. The program prompts for the month number and the first day of the week for the given month. For example, if …

Member Avatar for peter_budo
-5
92
Member Avatar for system analysis

). Design and implement an application that plays the Rock-Paper-Scissors game against the computer. When played between two people, each person picks one of three options (usually shown by a hand gesture) at the same time, and a winner is determined. In the game, Rock beats Scissors, Scissors beats Paper, …

Member Avatar for peter_budo
-4
436

The End.