|It is currently Thu Mar 28, 2024 7:16 pm 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
how to add multiple clients to the server in java? by artigautam on Sun May 08, 2011 5:10 pm
I ve to add 2 clients to the server,chatting between these clients will be through the server.but after running these following files only Cframe1 got connected to server but second client i.e. Clientframe1 didnt...what changes should I make to connect this second client??

Serverframe.java
Code:
import java.awt.*;
import java.applet.*;
import java.awt.event.ActionEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.event.ActionListener;
import java.net.*;
import java.io.*;
import java.lang.*;
class Serverframe extends Frame implements ActionListener
{
   Button b1,b2,b3;

   Label l1,l2,l3;

   TextField t1,t2,t3;

   TextArea t;

    boolean readSocketMem ;

    BufferedReader socketBR;


    BufferedWriter socketBW;

    Socket sref1,sref2;

   Serverframe()
   {


       setVisible(true);

      setSize(500, 500);

      setLayout(null);

      setTitle("Server Window");...


[ Continued ]

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 ]

Split Specific or All Pages of PDF & Save Each Page as new file by saaspose on Wed Feb 06, 2013 7:29 am
This technical tip allows developers to split all or specific pages of a PDF file and save each page as a new PDF or any supported format using Saaspose.Pdf REST API in your .NET applications. Input PDF file needs to be uploaded in root folder of Saaspose Storage before running this code.Saaspose.Pdf is a REST API to create, edit & manipulate PDF files. It also convert PDF file to DOC, DOCX, HTML, XPS, TIFF etc. It is platform independent REST API & working with web, desktop, mobile or cloud applications alike. Some important steps for performing this task are to build URI to split PDF pages, sign URI, further process JSON response, Parse the json string to JObject, build URI to download split pages and save split PDF pages as PDF.

Sample Code for Splitting all pages to new PDFs

...

[ Continued ]

Urgently Require an iPhone Developer for Islamabad Office by itgeneration on Wed Mar 14, 2012 5:19 pm
Mobile Media City c/o Itgenerations a boutique of Iphone/ Ipad Applications having awesome Applications on App Store with amazing ratings. We provide awesome applications for the web, mobile and tablet platforms using a range of technologies. We are headquartered in Toronto, Canada and have an offshore development and support facility in South Asia. We deliver awesome Apps and ensure they deliver beyond your expectations.

The Jobs Details are:
Number of Posts: 2
Relevant Experience Required: 1 to 2 years
Education: Software Engineer (minimum)



The responsibilities are as below:

• Must be very strong in Objective-C, Cocoa, CocoaTouch, and XCode
• Excellent knowledge of the iPhone iOS SDK
• Excellent knowledge in UI design
• Application on AppStore is a plus
• Good communication skill is mandat...

[ Continued ]

Make your business more beneficial with seo service by nilguy25 on Fri Mar 25, 2011 11:28 am
The internet has untouched the way so as to businesses sell dramatically in the onwards decade. Most businesses at the moment rely on their website to generate leads, sales or significance in the upshot or service they plug. Because of the prominence in search engines whilst it comes to driving frequent to a website, SEO Services allow increased in popularity. SEO, or search engine optimization, is the process of humanizing your website's grade in the search engines in support of keywords linking to your position.

Online marketing on the undivided has risen in popularity, with the digit of specialists in various areas growing speedily. Such areas include SEM (Search Engine Marketing) and SEO.

Both SEM and SEO consultants are particularly comfortable to come up to by online and a digit of businesses service competitively priced services of specialists they might in no way truly unite in person. But with increasing facts of SEO companies setting up in offices in cities all greater than...

[ Continued ]

 [ 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