|It is currently Wed Apr 24, 2024 5:03 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka


Blog Links

Blog Stats
4Total Entries
3Total Comments

Search Blogs


Category Blogs 
General Articles

General blog articles related to forums area or in general things.

1

Programming

Articles related programming (java,c++,csharp,dotNet)

1


 [ 24 blog entries ]  1, 2, 3, 4, 5  Next
Feed Random Blog Entries
Just need to complete my program for snake game by behumanizer on Wed Aug 17, 2011 8:17 am
Program below is working i just don't know what to do for the algorithm on keyevents for right,left,up and down
The code like y+=10; is just my assumption for the snake movement.....
I believe below the path.reset() code has to be change since stack is being use...
Can anyone help me program to run correctly?


/***
* PROVIDE THE MISSING CODE in the keyPressed() method
* in order to move the 'snake' around the interface
* by pressing:
*
* --> cursor keys
* --> CTRL-Z to 'undo' last move
* --> CTRL-Y to 'redo' past/last move
*/

package midterms;

import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
import java.util.*;
import javax.swing.border.*;



public class Snakes extends JPanel implements KeyListener {
final static long serialVersionUID = 1;
final private int WIDTH = 600;
final private int HEIGHT = 400;

LinkedList<Point> snake = new LinkedList<Point>();
Stack<Point> undo = new...

[ Continued ]

Google's Social Network Better Than Expected by GGen on Mon Apr 09, 2012 8:53 am
According to reports, Google Inc. has achieved greater success in its social networking feature than had been initially predicted and has enabled the company to atone for its alleged inattention in assisting their customers to connect with others online. According to reports, the average Google social network user averaged 3.3 minutes online, versus, Facebook
users, 7 ½ hours. The company alleges that in their efforts to become the leading Web-search provider, they failed to be competitive in the growing area of people connecting to one another socially via the internet.

Reportedly, in January, Google considered linking information from Google+ into search queries used by their customers. It has been reported that this generated unexpected challenges from privacy groups as well as competitors who claimed that by including the links, Google’s products were unfairly being promoted over other available resources online. This reportedly led to the U.S. Federal Trade Commission expanding it...

[ Continued ]

Extract Text from PDF Files, Convert MS Word Document in Android by saaspose on Fri Feb 01, 2013 8:35 am
Saaspose development team is pleased to announce the release of Saaspose SDK for Android. It is great news for all Android developers to enjoy a whole new experience of document manipulation in the cloud. We have been working on Saaspose SDK for Android to facilitate the android developers with feature-rich APIs round the globe.

Saaspose REST APIs gives developers total control over documents and file formats on all platforms. We have developed SDKs for these file format APIs to help you utilize these feature-rich APIs in you applications for quick file processing. You can now use Saaspose APIs in your Android applications and take document manipulation experience to another level. Whether its text extraction from PDF files or conversion of MS Word document to different file formats, Saaspose REST APIs have much more to offer for your Android applications. You can extract text from documents, calculate formula in worksheets, convert PDF to images, extract images and slides from presentations...

[ Continued ]

BYOD and its Impact on Enterprise Mobility Market by extendcode on Tue Oct 16, 2012 12:58 pm
Many CIOs (Chief Information Officers) look back to the early days of enterprise mobility as the good old days, when things were just so much simpler for them. There were few mobility devices and fewer platforms, which made it much easier to implement security solutions. Most of the enterprise employees were baby boomers and the attempts to circumvent company security were much fewer. In those early days, the mobility devices were mostly company owned and provided to the employees for carrying out the company’s work. The cost of buying and maintaining such devices was considered to be a necessary evil by most companies in those days. At that point, few people could have predicted that there was a storm coming.

The storm came with the introduction of the first Apple iPhone, intensified with the advent of devices powered by Google’s android and the whole enterprise mobility landscape started to change at a rapid pace. The availability of iPhone and Android powered devices, which were cap...

[ Continued ]

jsp doubt by ganeshyogi on Fri Apr 20, 2012 12:19 pm
i want to insert the combo box values from jsp page to the mysql database i need code please help me thanks in advance...

 [ 24 blog entries ]  1, 2, 3, 4, 5  Next

All times are UTC [ DST ]


cron






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com