Ideas for a new program

Ive recently finished making a chat program using (predominantly) nio. I learnt a lot about sockets, network programming etc which was really interesting since ive never made anything along those lines before.
Im now wanting to learn more about network programming and programs that are not just stand alone. I cant however think of any ideas on what to make. I made the chat server/client program just out of interest and to see if I could do it, but know that im interested in that type of programming im out of ideas.
If anyone has any ideas that will include nio, sockets, networks etc that will not be too complicated but at the same time will be more involved than a chat application, so I can learn more about all of this I would appreciate it.
Thanks for the ideas
R

make client run in java enabled browser's
could be jnlp/webstart or applet.
make clients able to talk to server able to talk to client and then make client talk to client.
Try it, it is fun ;)
The most interesting thing you'll find is how to break through NAT, try it , it is fun ;)

Similar Messages

  • Ideas For a Simple Program?

    I need some ideas for a simple program for a project in class. Can anyone help me?

    Import Classes
    import java.io.*;
    public class tictactoe
    Define Variables
    public static InputStreamReader ISR = new InputStreamReader(System.in);
    public static BufferedReader BFR = new BufferedReader(ISR);
    public static String BOX[][] = new String[3][3]; //Integer Arry for tictactoe box
    public static String PName; //Moving Player's Name
    public static String P1Name; //Player 1 Name
    public static String P2Name; //Player 2 Name
    public static String InputPLY; //X or O
    public static String InputStr; //Player's Input
    public static boolean BreakLoop; //Set this to true in PlayGame() to exit
    public static void main(String args[]) throws IOException
    InputPLY = "O";
    BreakLoop = false;
    ClearBOXCache();
    PrintCredits();
    System.out.println("");
    System.out.println("PLEASE ENTER PLAYER 1 NAME");
    P1Name = BFR.readLine();
    System.out.println("PLEASE ENTER PLAYER 2 NAME");
    P2Name = BFR.readLine();
    System.out.println("");
    System.out.print("\nWelcome ");
    System.out.print(P1Name);
    System.out.print(" and ");
    System.out.println(P2Name);
    System.out.println("");
    System.out.println(P1Name + " = X");
    System.out.println(P2Name + " = O");
    PlayGame();
    PrintCredits();
    BFR.readLine();
    System.exit(0);
    public static void DrawGrid()
    This function is to draw the tictactoe grid.
    System.out.println("");
    System.out.println("\t/-----------------------------\\");
    System.out.println("\t|-------- TIC TAC TOE --------|");
    System.out.println("\t|-----------------------------|");
    System.out.println("\t| | | |");
    System.out.println("\t| " + BOX[0][0] + " | " + BOX[0][1] + " | " + BOX[0][2] + " |");
    System.out.println("\t| | | |");
    System.out.println("\t|-----------------------------|");
    System.out.println("\t| | | |");
    System.out.println("\t| " + BOX[1][0] + " | " + BOX[1][1] + " | " + BOX[1][2] + " |");
    System.out.println("\t| | | |");
    System.out.println("\t|-----------------------------|");
    System.out.println("\t| | | |");
    System.out.println("\t| " + BOX[2][0] + " | " + BOX[2][1] + " | " + BOX[2][2] + " |");
    System.out.println("\t| | | |");
    System.out.println("\t\\-----------------------------/");
    public static void PrintCredits()
    This function is to print credits. Intended for startup and ending
    System.out.println("");
    System.out.println("");
    System.out.println("\t-------------------------------");
    System.out.println("\t--------- TIC TAC TOE ---------");
    System.out.println("\t-------------------------------");
    System.out.println("");
    System.out.println("\t-------------------------------");
    System.out.println("\t---- MADE BY WILLIAM CHAN! ----");
    System.out.println("\t-------------------------------");
    public static void ClearBOXCache()
    This function is to clear the BOX's cache.
    It is intended for restarting a game     
    BOX[0][0] = " ";
    BOX[0][1] = " ";
    BOX[0][2] = " ";
    BOX[1][0] = " ";
    BOX[1][1] = " ";
    BOX[1][2] = " ";
    BOX[2][0] = " ";
    BOX[2][1] = " ";
    BOX[2][2] = " ";
    public static void CheckWin(String PLYW) throws IOException
    This function is to check if a player wins
    for (int X = 0; X < 3; X++)
    if (BOX[X][0].equals(PLYW) && BOX[X][1].equals(PLYW) && BOX[X][2].equals(PLYW))
    PrintWin(PLYW);
    for (int Y = 0; Y < 3; Y++)
    if (BOX[0][Y].equals(PLYW) && BOX[1][Y].equals(PLYW) && BOX[2][Y].equals(PLYW))
    PrintWin(PLYW);
    if (BOX[0][0].equals(PLYW) && BOX[1][1].equals(PLYW) && BOX[2][2].equals(PLYW))
    PrintWin(PLYW);
    else if (BOX[0][2].equals(PLYW) && BOX[1][1].equals(PLYW) && BOX[2][0].equals(PLYW))
    PrintWin(PLYW);
    else if (!BOX[0][0].equals(" ") && !BOX[0][1].equals(" ") && !BOX[0][2].equals(" ") && !BOX[1][0].equals(" ") && !BOX[1][1].equals(" ") && !BOX[1][2].equals(" ") && !BOX[2][0].equals(" ") && !BOX[2][1].equals(" ") && !BOX[2][2].equals(" "))
    ClearBOXCache();
    System.out.println("Tie Game!");
    BFR.readLine();
    System.out.println("Game has restarted");
    public static void PrintWin(String PrintWinner) throws IOException
    This function is to print which player won
    if (PrintWinner.equals("X"))
    System.out.println(P1Name + " wins!");
    System.out.println(P2Name + " loses!");
    else if (PrintWinner.equals("O"))
    System.out.println(P2Name + " wins!");
    System.out.println(P1Name + " loses!");
    BFR.readLine();
    ClearBOXCache();
    System.out.println("Game has restarted!");
    public static void PrintInstruction(String PLYINSTR)
    This function is to give instruction to the player
    if (PLYINSTR.equals("X"))
    PName = (P1Name);
    else if (PLYINSTR.equals("O"))
    PName = (P2Name);
    System.out.println("");
    System.out.println(PName + ":");
    System.out.println("PLEASE MAKE YOUR MOVE");
    System.out.println("");
    System.out.println("TL = TOP LEFT BOX, TM = TOP MIDDLE BOX, TR = TOP RIGHT BOX");
    System.out.println("ML = MIDDLE LEFT BOX, MM = MIDDLE MIDDLE BOX, MR = MIDDLE RIGHT BOX");
    System.out.println("BL = BOTTOM LEFT BOX, BM = BOTTOM MIDDLE BOX, BR = BOTTOM RIGHT BOX");
    public static void PlayGame() throws IOException
    This function is the main game function.
    It calls other game functions.         
    Define Variables
    while(true)
    if (InputPLY.equals("O"))
    InputPLY = "X";
    else if (InputPLY.equals("X"))
    InputPLY = "O";
    while(true)
    PrintInstruction(InputPLY);
    InputStr = BFR.readLine(); //Player's move
    Check player's move
    if (InputStr.equals("TL"))
    if (BOX[0][0].equals(" "))
    BOX[0][0] = InputPLY;
    break;
    else if (InputStr.equals("TM"))
    if (BOX[0][1].equals(" "))
    BOX[0][1] = InputPLY;
    break;
    else if (InputStr.equals("TR"))
    if (BOX[0][2].equals(" "))
    BOX[0][2] = InputPLY;
    break;
    else if (InputStr.equals("ML"))
    if (BOX[1][0].equals(" "))
    BOX[1][0] = InputPLY;
    break;
    else if (InputStr.equals("MM"))
    if (BOX[1][1].equals(" "))
    BOX[1][1] = InputPLY;
    break;
    else if (InputStr.equals("MR"))
    if (BOX[1][2].equals(" "))
    BOX[1][2] = InputPLY;
    break;
    else if (InputStr.equals("BL"))
    if (BOX[2][0].equals(" "))
    BOX[2][0] = InputPLY;
    break;
    else if (InputStr.equals("BM"))
    if (BOX[2][1].equals(" "))
    BOX[2][1] = InputPLY;
    break;
    else if (InputStr.equals("BR"))
    if (BOX[2][2].equals(" "))
    BOX[2][2] = InputPLY;
    break;
    else if (InputStr.equals("RESTART"))
    ClearBOXCache();
    System.out.println("");
    System.out.println("GAME RESTARTED!");
    System.out.println("");
    break;
    else if (InputStr.equals("QUIT"))
    BreakLoop = true;
    break;
    if (BreakLoop == true)
    break;
    DrawGrid();
    CheckWin(InputPLY);
    }

  • Where can I send an idea for a new feature.

    I have an idea for a new feature in Illustrator. I'd like to share it to the developers.
    Is there a channel to send your idea?
    Thank you!

    Thanks for the replies.
    I know that this feature does not serve everybody, but I could use it on a weekly basis.
    I don't know if there is a script for this, and if there is, plese let me know it.
    Transparent working window.
    So I could set my whole artboard window transparent and still work on it.
    I could easily and fast trace some shapes from locked PDF's and also directly from the browser without copying the image to my computer.
    The problem is, of course, that Zoom would only work in the graphics in the Illustrator (needless to say) and would not affect to the graphics behind the Illustrator window.
    But still I think I could use it very much.
    For examble I could manually draw simple shapes and logos straight from the customers website, without downloading the poor JPG image.
    Please let me know what you think about it.
    Sorry if there is some mistakes, English is not my native.
    I hope you got the point.

  • I have an idea for a new feature of the calendar app on a new software version. Does anyone know how to contact Apple to let them know the idea?

    I have an idea for a new convenient feature of the calendar app on a new software version. Does anyone know how to contact Apple to let them know the idea?

    First see here  >  http://www.apple.com/legal/policies/ideas.html
    You can leave Feedback here  >  http://www.apple.com/feedback/

  • Ideas for developing new Mini project

    Hi All,
    we want to develop our programming skill by doing some mini project in Java technology.
    A group of 3 members want to involve in this project with IDE as JDeveloper. So anyone can suggest a mini project with some 10 days duration. We are strong in Swing-EJB. We also intersted to work in JSP,Java script. Also ready to learn new technology..
    So whichever applicable suggest us or give some ideas for the project to improve our skills.
    Note: we are one year experienced in java Programming.

    Hi Lrj1985,
    According to your description, in order to allow users to know the probability of collecting from a debtor dependent on different dimension, you nedd to produce an OLAP cube to perform this. Since you haven't done this for a few years, now what you
    are looking for is that the ideas, starting points or direction to build the OLAP cube, right?
    In this case, here are some links which describe how to build a cube step by step, please see:
    http://www.codeproject.com/Articles/607134/BuildingplusYourplusFirstplusAnalysisplusServicesp
    http://technet.microsoft.com/en-us/magazine/ee677579.aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Got an idea for a new feature or feature improvement?

    Our FAQ contains a list of in progress and unfinished features, so please check that out.
    We're interested in hearing from you on how we can improve Parfait by improving or adding a new feature. Please provide as much detail as possible, and make sure to tell us why it is important to you. If your idea is for a new feature, it would be helpful to understand how you get it done now, and how the new feature would make your life better.
    Thanks!
    Bruce
    Parfait product manager

    Helo Kieran,
    • Integration with Creative Cloud or LayerVault (LV would be nice for versioning etc.)
    BB> We're working on integrating with Creative Cloud. You'll get versioning, commenting, sharing (file or folder level), and sync. We expect to be able to roll this out later this year.
    • Importing guides from the .PSD as well as having the rulers on the sides
    BB> Good idea, and we're considering this. For now, some people are creating guides on a layer in Ps, then toggling that layer's visibility in Parfait.
    • When doing a Shift + Click on two elements, depending on the circumstance, spit out the margin or padding values into the CSS panel
    BB> This is also something we've considered. We think this should be done in combination with adding support for guides or another temporary measurement aid, so you can position the container around an item to make sure you get the info you want. Still working out design and details on this one, and no ETA.
    • Having something like a marquee tool to measure between two points (I know this can be done using the Shift+Click but some elements aren't accurate eg. images inside clipping masks)
    BB> Yes, we're considering this, as I mentioned in the point above.
    • The tags that are created when you select a font in the right-hand-side panel are black with a white "T", it's quite hard to see (not really a feature but I thought it was worth mentioning )
    BB> Thanks for the feedback, and we'll take another look at them to see if we can improve.
    And thanks for offering to help with testing - we are improving Parfait and pushing out new builds frequently, so please check back often and let us know what you think.
    Bruce
    Parfait product manager

  • Hello, I have a new idea for apple... an idea for a new software !!! I need to know how to contact an official way to apple. Please help me

    I need to know how to contact an official way to apple !!! an E-mail official a site official... anything... Please help me, is a project for a new software.

    Apple does not accept unsolicited ideas. If you insist on sending them your idea according to  Apples policies the idea becomes the property of Apple and you loose all rights to it.
    It would be better for you to develop the idea, then if it amounts to anything and Apple is interested they will contact you. (As with Apples current move to acquire Beats Electronics).
    regards

  • How do you contact Apple if you have an idea for a new product for Apple to use with their phone I want to send a photo

    idea for Apple product how do you send your idea

    See Apple - Legal - Unsolicited Idea Submission Policy
    Basically they do not accept unsolicited ideas but if you insist on sending the idea to them they own it outright.   If the idea is that good you should look into developing it yourself. Then once it's a hit Apple may buy to from you.
    good luck

  • Ideas for a new SSAS Project

    Hi,
    I have jus started a new job in a debt collection company and one of the things they said they where looking for was for me to create something that would allow them to know the probability of collecting from a debtor dependent on different dimensions i.e.
    area of the UK they live in, age, gender, maital status etc. and also future projections etc.
    I would like to produce an OLAP Cube to perform this because I havnt done one for a few years now and forgetting my skills.
    Can anybody help me with any ideas and starting points, any direction at all would be welcomed greatly.
    Thank You

    Hi Lrj1985,
    According to your description, in order to allow users to know the probability of collecting from a debtor dependent on different dimension, you nedd to produce an OLAP cube to perform this. Since you haven't done this for a few years, now what you
    are looking for is that the ideas, starting points or direction to build the OLAP cube, right?
    In this case, here are some links which describe how to build a cube step by step, please see:
    http://www.codeproject.com/Articles/607134/BuildingplusYourplusFirstplusAnalysisplusServicesp
    http://technet.microsoft.com/en-us/magazine/ee677579.aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Ideas for a new kernel patchset

    Hi,
    I'm not much satisfied with the kernel patchsets currently available for Arch, so I'm planning a new patchset (well... it was ready when it was 2.6.20.7 based, but now I'm making a new 2.6.21 based one).
    These would be the planned patches:
    genpatches ( http://dev.gentoo.org/~dsd/genpatches/ ) [not all when they were for 2.6.20... we'll see for 2.6.21]
    AppArmor ( www.novell.com/linux/security/apparmor/ )
    PaX ( http://grsecurity.net/ ) [not the whole grsecurity patchset]
    cfs-scheduler ( http://people.redhat.com/mingo/cfs-scheduler/ ) [a new scheduler from Ingo Molnar... better than the -ck one? Probably yes.]
    Suspend 2 ( http://www.suspend2.net/ )
    SKAS ( http://www.user-mode-linux.org/~blaisorblade/ )
    Squashfs ( http://squashfs.sourceforge.net/ )
    Unionfs ( http://www.am-utils.org/project-unionfs.html )
    Reiser4 ( http://www.namesys.com/ )
    ACPI DSDT ( http://gaugusch.at/kernel.shtml )
    There are some small fixes (genpatches), some "hardening" patches (AppArmor, PaX, SKAS), a new scheduler (cfs-scheduler), improved filesystems support (Squashfs, Unionsfs, Reiser4) and the usual useful things (Suspend 2, ACPI DSDT).
    Do you have any other idea? Let me know.
    Last edited by ekerazha (2007-04-26 10:59:44)

    ekerazha wrote:So... probably I'll use Suspend2 but I'll leave out fbsplash (for the same reason Linus thinks mixed user-space/kernel-space suspend-to-disk capabilities are not a very good idea): fbsplash-based solution uses a mixed user-space/kernel-space approach. Suspend2 seems like a kernel-space only approach. Splashy is an user-space only approach. So no controversial userspace<->kernelspace interfaces using Suspend2 and Splashy (I think... tell me if I'm wrong).
    splashy is totally userspace.
    suspend2 has an option to support userspace progress interfaces, such as userui, fbsplash and others. but the logic and function of suspend2 does not depend on this, it's entirely in the kernel.
    fbsplash is userspace* and can give progress and everything from userspace, however it cannot set the terminal backgrounds unless it is patched -- none of the userspace splash tools set the background.
    regardless, before you get carried away, you might want to work out why you're making this patchset. and for each patch, why are you including it, do people really need these, or are you just beefing it up to try and make one size fit all? This doesn't always work as well as you'd think, and makes testing damn near impossible.
    Work these things out, or you'll probably end up like the other long gone patchsets, nitro, dark, emission, love, ragnarok, klight, light, kamikaze, no, kot, morph, rad, skunk, cko or hammer. And there's more...
    James

  • Great idea for a new feature in genius

    Hi All,
    Personally the main type of music I like is all/any music in the iTunes store top 100.
    A really cool feature would be if genius makes a playlist for you, and keeps it updated with a certain playlist in the iTunes store. (For example the iTunes top 100)
    It would be updated to keep your playlist in the same order as the iTunes store playlist. Also, when a new song is on the store playlist, it will prompt you to purchase to keep your playlist updated.
    This would be a really cool and convenient feature if you just wanted to listen to the top songs on your iPod/iPhone without the commercials of commercial radio!
    And if this was a success, it could look at a 3rd party's playlist (such as America's top 40) and keep the playlist updated with songs from the iTunes store, but in the playlist order of the 3rd party. And again, it would prompt you to buy new songs if you don't own the ones on the auto playlist from the iTunes store!
    I would love to see what the apple fans think of this idea!
    Sam.

    http://www.apple.com/feeedback

  • Best IDE for a new team (Help)

    We are embarking on a brand new project with new team (startup). This application is JSP/Servlet and most probably J2EE (dont know yet)
    Others (CSS, AJAX, JScript, JDBC etc usual)
    Can you please suggest me what is the best IDE if we have to
    start fresh.
    I have the following in mind: NetBeans 5.0, Sun Studio Enterprise 8 (or wait for 8.1) and Eclipse. (or) please suggest another which you find excellent.
    Thanks
    - Ravi

    Netbeans is probably the best for JavaEE development.

  • Idea for channel subscription program that would benefit MILLIONS of Verizon subscribers

    Hello, Since Verizon is moving towards allowing customers to create their own TV packages to compete with streaming services, I have an idea that would certainly please millions of users. If I want to subscribe to HBO or the French channel, for example, all I have to do is press a button on my remote. However, if I want to cancel these channels, this necessitates a phone call to customer service. The benefit of streaming services is that we can't watch everything at once, so why pay to subscribe to 10 channels, when you can't possibly watch them all within the same month. I think that each time you subscribe to a channel (be it Showtime or the Russian language package), you should be charged a one-month minimum fee. You can cancel the subscription (online or using your remote) at any time, but you still pay for at least one full month. That way, I, for example, can subscribe to the French channel, watch it for a month, then cancel, then subscribe to the Portuguese and German channels, watch them for a month, then cancel, then sign up for Cinemax, watch it for three months... Each network is still getting the benefit of a full month's subscription, plus people would be more willing to sign up (and try out) more channel options if they know that their minimum commitment is only one month. If you haven't guessed by now, I like to watch TV in multiple languages, but I can't sign up for all the channels at once because 1) it's too expensive and 2) I can't watch all these channels in a month. I'm sure other people would sign up for a movie channel package to catch up on their favorite shows (I think people do this anyway with Game of Thrones, etc.) or a sports package until the season is over, etc. In other words, by making it easier for people to cancel channel/specialty package subscriptions online or using the remote (with the understanding that there is a minimum of one month), more people would subscribe to these channels - and some would keep them for several months. With the addition of streaming TV, DVR programming, etc. there is just too much TV available and we can't watch everything, so fewer people sign up for pay-for-view packages. This model would give people more control over how they watch TV. True there would be a lot of turning channels on and off (I, for example, would probably do this frequently). However, there would also be a huge increase in revenue from these channels, even if people cancel after one-month (then the onus is on the network to provide quality programming to retain the customer). Thank you for your time.

    This is the message I get:
    Please contact the Verizon Local Business Office Your address appears to be part of a home owner's association that has a special agreement with Verizon. We are unable to place your order online, but our National Customer Service Center can help you with your order.
    Please contact the National Customer Service Center at {edited}. Representatives are available Monday through Friday (9am - 9pm EST / 8am- 8pm CST).

  • Any good IDE for J2ME/MIDI programming ?

    Hi
    I am new to the J2ME world. I have to develope a GUI based application on iPAQ4350. But I am not given any ramp up time with awt programming. So I am wondering whether there is any good IDE ( like VB Editor ) with all standard widget ( like button, textfield etc) which I choose and create my GUI.
    Someone please post.

    You can try Sun One Studio Mobile Edition, but even this does not provide you with visual development of GUI like buttons, drag and drop.....This is J2me World honey, learn to be small....

  • How do we give apple our ideas for a new ipod nano

    i have been looking for an email adress for ages and i cannot find one

    Hello there,
    You can leave ideas or suggestions on the iPod Nano feedback page below.
    http://www.apple.com/feedback/ipodnano.html
    B-rock

Maybe you are looking for