Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
7
Posts with Upvotes
6
Upvoting Members
7
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
~26.7K People Reached
Favorite Tags
Member Avatar for JamesCherrill

I've opened this thread following rotten69's suggestion for "Java projects for beginners". To get things started I've posted a project in a format that makes sense to me; please feel free to follow that format, or to do it in some completely different style if that seems better. Let's see …

Member Avatar for Alok_5
20
3K
Member Avatar for krishnisilva
Member Avatar for krishnisilva
0
91
Member Avatar for vinnyoodles

Hi, I am trying to make a simple snake game, but whenever I try to attach a body piece it appears randomly on the screen rather than behind the head. Also, the body doesn't exactly follow the head either. I checked the code over and over for any problems but …

Member Avatar for cms271828
0
281
Member Avatar for raj26061990

eg. 14 and 15 Find all the factors of 14 and 15. 1,2,7,14 are factors of 14 1,3,5,15 are factors of 15 Sum all the factors of two numbers and if sum of factors of two numbers taken are respectively equal they are Amicable numbers.

Member Avatar for cms271828
0
463
Member Avatar for cms271828

Hi I've made a cube in Javafx 2.0, see [URL="http://www.colin-java.co.uk/pics/ftcfx.png"]http://www.colin-java.co.uk/pics/ftcfx.png[/URL] But as everyone can see, the edges of the shapes / image are horrendous. This is even with smooth set to true, but it appears to do nothing. Setting it to false seems to make no difference. I've tried googling …

0
52
Member Avatar for cms271828

Hi, I've just completed my chess program in java. Its at [URL]http://www.colin-java.co.uk/JChess/index.htm[/URL] I'm looking for a new project now, something to take my time up. Any good ideas. :?:

Member Avatar for SylvesterAbreu
0
292
Member Avatar for JavaBean
Member Avatar for cms271828

Hi, I've just uploaded a very simple web app that uses hibernate via a war file to my webserver: [URL="http://www.colin-java.co.uk/BANK"]http://www.colin-java.co.uk/BANK[/URL] The first couple of times I loaded the page above, it was fine, and it correctly displayed some of the contents of the User (MySQL) table. But now when I …

Member Avatar for javaAddict
0
132
Member Avatar for josh.2010
Member Avatar for cms271828

Hi, I'm using Netbeans 6.9, Glassfish v2, and Hibernate 3.2.5 (I think). I Basically have a very simple web-app that reads from a database. I can run the web-app in Netbeans locally under glassfish v2 without any problems. Now I'm trying to get the web-app to work on actual web-server …

Member Avatar for cms271828
0
145
Member Avatar for pooran.c

import java.util.LinkedList; import java.util.ListIterator; import java.io.*; public class llist { public static void main(String[] args) { String abc="poo"; String[][] array_string; array_string= new String[10][10]; array_string[0][0]="123"; for(int i=0;i<5;i++){ for(int j=0;j<5;j++){ array_string[i][j]=(String)j; System.out.print(array_string[i][j]); System.out.println(""); } } } } error is: Exception in thread "main" java.lang.Error: Unresolved compilation problem: Cannot cast from int to …

Member Avatar for pooran.c
0
238
Member Avatar for cms271828

Hi, I have a project that uses 'basicplayer', a mp3 player. I can get it to work when it runs in netbeans 6.9.1, but when I build project (into jar file in dist folder), it no longer runs. I need to get the jar files that I added to project …

Member Avatar for cms271828
0
230
Member Avatar for cms271828

Hi, I have 2 applet problems. 1) I uploaded a new jar file to server to replace old one. When I load web page in browser for that applet (on this pc), I keep getting the old jar file getting loaded as the applet (even on different browsers on this …

Member Avatar for Akill10
0
224
Member Avatar for cms271828

Hi, I'm trying to draw 2 quadrilatrials, that share 2 corners and an egde. I also want to smooth edges, so I use ANTIALIASING turned on, but this has the effect of showing a crack between the polygons. The crack dissapears if I turn off ANTIALISAING, but I really don't …

Member Avatar for Ezzaral
0
124
Member Avatar for dowen

why when i add private int yearpublished; my program has an error what is my mistake can you please help to fix it ------------------------------------------------------ this is the error that came out C:\goh>javac libmainsys.java libmainsys.java:19: ';' expected yearpublished = yrpub ^ libmainsys.java:28: cannot resolve symbol symbol : variable yearpublish location: class …

Member Avatar for masijade
0
363
Member Avatar for codiction

This particular snippet will display a chessboard in a new frame. Needless to say save it in a file named "chessboard.java".

Member Avatar for mundvawala
0
1K
Member Avatar for cms271828

Hi, I'd like to be able to put a JTable inside a ScrollPane, so that when the table is large, the horizontal and/or vertical scrollbars 'kick in', and when the JTable is small, I just get a small JTable. Also I want to limit the size of the scrollpane to …

Member Avatar for cms271828
0
89
Member Avatar for cms271828

Hi, I'm building an application and I want to it to play mp3 files. I have it working, basically by installing JMF2.1.1e, and then I add its jmf.jar file to the build path of the project within eclipse. When I then jar up the project, and place on desktop, it …

Member Avatar for mlikesit
0
443
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
104
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
175
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 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
106
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
74
Member Avatar for Arman Majumder

A program that creates a grid panel of desired [FONT=&quot]dimensions [/FONT]and changes the colour randomly of each grid box upon dragging the mouse over the selected region.

Member Avatar for amos wang
0
192
Member Avatar for cms271828

This program generates the 6 faces of a colour cube. The faces are displayed in a JPanel, and they are also saved to C:/Faces as PNG files. So non-windows users might have to alter code slightly.

Member Avatar for cms271828
0
168
Member Avatar for johnroach1985
Member Avatar for Eddi

Hi Dani, fine Examples (the others too) to learn programming Java, but where is the MyInput.java class? Thanks Eddi

Member Avatar for cms271828
0
350
Member Avatar for cms271828

Hi, I'm hoping someone can help me with this problem. Over last couple of days, when I start up computer, it gets to the windows screen, and the blue bar thing just goes round and round, and it never gets into windows. I eventually get it to start up, if …

Member Avatar for cms271828
0
118
Member Avatar for baheddad

hi .. plz anyone has an ideas for final projects that can i do it in java? and i hope in computer information system :idea: plezzzz

Member Avatar for baheddad
0
141
Member Avatar for cms271828

Hi, I have an application, that has a JFrame. Added to the JFrame's contentPane is a JDesktopPane. I use JMenuItems in the JMenu (in JMenuBar) to add, and then remove a JInternalFrame inside the JDesktopPane. But now.. when I use any acclerator keys, to invoke JMenuItems, they don't work, its …

Member Avatar for cms271828
0
86