35,586 Topics

Member Avatar for
Member Avatar for gauravmishra

hi i want to know that what does the scale() method of AffineTransform do i mean when we reduce the size of a image does this transform reduces the number of pixels or something else .........

Member Avatar for gauravmishra
0
102
Member Avatar for KimJack

Hello All, I am having a problem with removing a specific item from a linked list. Any advice would be great: Here are some snippets: private Node head; //the head node at the front of the list private Node previous; //element just before the current position private Node current; //refers …

Member Avatar for sohguanh
0
915
Member Avatar for slayer10

Ok, i have been making a chess game program, basically what it is is a chesspiece class and a chess board class, the chessboard class has an 8x8 2-d array of chesspiece objects, then i have my frame, my frame has a parallel 2-d array of Jtoggle buttons, when a …

Member Avatar for slayer10
0
78
Member Avatar for maggie789

Hi, I was wondering if there is a way to split double into its integer part and decimal part. I' working on binary converter, and my teacher gave me 4 steps on how to write the program. I've completed step 1 which is separating number into integer and decimal portion, …

Member Avatar for maggie789
0
943
Member Avatar for StephNicolaou

I'm trying to make a circle appear from a class I've developed to move following the x co-ordinate of the mouse. I've done that part correctly, it's just loading the class...Can anyone tell me why it isn't loading? I do love to solve problems myself but I've been working on …

Member Avatar for Ezzaral
0
223
Member Avatar for Parsu7

Suppose i try to instantiate an abstract class then a checked exception is thrown,but who handles it or how is it handled?

Member Avatar for Parsu7
0
118
Member Avatar for piers

I am currently working on something where I have to make two shapes which extend to a class called 2d shape. I am currently working on my Triangle class which is this: [CODE]lass Triangle extends TwoDShape { String style; Triangle(double width, double height, String style) { super(width,height); } private double …

Member Avatar for piers
0
796
Member Avatar for tgreer

I've posted a new article on my site, dealing with how to integrate JavaScript and ASP.NET. It's a "beginner level" article. [url]http://www.tgreer.com/aspnet_html_03.html[/url]

Member Avatar for SheSaidImaPregy
0
211
Member Avatar for MikP

Hi all, I'm a n00b at Python and am working on outputting html using pyhtmloo - I've checked the [URL="http://sourceforge.net/docman/index.php?group_id=89844"]pyhtmloo site[/URL] for guidance but no joy there. Hopefully I'll find guidance here... The python code below outputs an html page and what I'd like to do is set the refresh …

0
53
Member Avatar for nova706

I am having trouble with a piece of javascript code that expands blocks of text. For example, when you click the title, the text under it will expand. I am fairly new to javascript but it looks like the code bassically re-writes the link in the html so that when …

Member Avatar for peter_budo
0
159
Member Avatar for rajeshwarreddyt

Hi Folks, My requirement is like this : How to get User Name using LDAP when my application URL hitted by user in intranet for example: Suppose Application running on my system and any person in intranet hit the my application URL , now using LDAP i need to find …

Member Avatar for rajeshwarreddyt
0
131
Member Avatar for yo123

The program is broken into two parts: the lexical analyzer and the syntax analyzer plus semantic. The lexical analyzer should recognize the token using DFA and return the token and the value. The syntax and semantic part can be done by using any algorithm that can check for the correct …

Member Avatar for jwenting
0
83
Member Avatar for mdelaossa

Hello, In my java class we've been asked to create a painter program that allows the user to draw on the screen (as with a paintbrush). I had no trouble creating the program and having it perform up to standards with what was asked, but something that troubles me and …

Member Avatar for mdelaossa
0
146
Member Avatar for vladdy19

Could someone help me out I need to change a String such as "asu" I'm thinking of using the ascii but I'm not sure how i could do that

Member Avatar for javaAddict
0
165
Member Avatar for tactfulsaint

Hello EveryOne I need Help here ,i have been trying to view this GUI but it keeps showing me this erroe `NoClassDefFounderError`. Anyones help would be appreciated. import java.awt.*; import java.awt.event.*; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import javax.swing.*; public class HeartLandHomeFinance2 extends JFrame { JPanel Panel; JLabel …

Member Avatar for Ezzaral
0
111
Member Avatar for jasmin_java

Hello Could anyone help us , we have a minesweeper's game code in java the game is good but has two problem the first one is when you press a mine button the game should be over and you can not press on any other button but our code allow …

Member Avatar for jasmin_java
0
143
Member Avatar for chankya

I want to change the color of the whole row("which is containing different data types in different cells") depending upon the value of one column. Have any idea????? Please help!!!!!!!!!!!!!!!!!!!!!!!1

Member Avatar for Phaelax
0
143
Member Avatar for sugantha

Hi friends, I am using Netbeans 6.0.1 and I've installed MySql on Fedora 8...I 've been able to configure the jdbc-MySql connector that's bundled with Netbeans and I can create tables and query MySql using the Netbeans GUI.So I guess my connection was correct...My connection properties are as follows: Database …

Member Avatar for Ezzaral
0
581
Member Avatar for Rentro

I have a string that looks for example like this: "aabbccddeeffgg" I want to retreive the "ee" or the "cc" value from that string. How can I do that ? The tokenizer is not what I am looking for. I'm looking for the function that allows you to specify that …

Member Avatar for Parsu7
0
208
Member Avatar for toomuchfreetime

Hey can any one help me i'm doing a hangman program and want to display blanks where a to z is. how can i do this? I've got it replacing "a" but can't get it to replace the rest i.e. b to z any help would be appriaciated. [code] show …

Member Avatar for toomuchfreetime
0
115
Member Avatar for spywx2003

private static int readFile (String filename, String[] capacities) the file whose filename is given as a parameter, and fills array of strings representing capacities. Error checking: Each line of the file should be checked for the following errors. Lines of the file that contain errors should not be put in …

Member Avatar for taineechan
0
157
Member Avatar for grhu8175

Hi people, i am totally new to java and is still pretty much struggling with it now... please forgive me if i sound stupid from here on... I am trying to come out with a simple java login console application using a flat file as data base. I have done …

Member Avatar for javaAddict
0
48
Member Avatar for orcboyx
Member Avatar for sebe

hello, My computer have a problem when i start, there a error message "couldn't load main class". I need to know if i update the java can resolve this problem. Thanks

Member Avatar for shinnxennosagga
0
67
Member Avatar for mevtho

Hi, I have to refactor the method kingRange under, the goal being code readability : [code=java] /* For information, here are the class fields needed here : private String setUp; public final static Collection validPieces = Arrays.asList(new String[] { "R", "N", "B", "K", "Q" }); public static final int LEFT …

Member Avatar for mevtho
0
118
Member Avatar for eleonora

Hello, Im trying to implement a program which will split a text file and then parses the elements to an arraylist. My text file looks like that: [QUOTE] Name: Mariah Johnson Customer no: 663,283 Post code: BA1 74E Telephone no: 028-372632 Last modified: Jan 11, 2007 8:10:05 PM GMT Name: …

Member Avatar for eleonora
0
223
Member Avatar for Danii

define a method addOn that it adds the data argument to the list in the sorted location in alphabetical. There can only be one of each company in this list. public void addOn(company data) { Node it = new Node(data, head); head = it; it.data.toString(); } this is a small …

Member Avatar for Ezzaral
0
84
Member Avatar for HeroOfTime

Hello all. I was looking for a set of java classes that I can use to synch midi output of a speaker to output on the monitor (or other actions). I've been looking for the longest time in google, and I can't find exactly what I want, or at least, …

Member Avatar for Ezzaral
0
134
Member Avatar for AbuShokry

Hi everybody, my problem is as follow, I have two classes myClass and myGUI myClass code is [CODE] public class MyClass { public void start() { while (true) { // do some stuff } } public void stop() { System.out.println("Hello from stop method!"); } } [/CODE] myGUI code is [CODE] …

Member Avatar for Ezzaral
0
87
Member Avatar for muddpigeon

hi im new to this javascript business and have a problem with the following code [ICODE]<HTML> <HEAD> <TITLE> SOFASPEND - IN THE BEST POSSIBLE TASTE </TITLE> <SCRIPT LANGUAGE = "JavaScript"> /* Program to prompt for a number and then display message according to the response but allowed 2 maximum tries …

Member Avatar for ShawnCplus
0
184

The End.