Search:

Type: Posts; User: macko

Page 1 of 8 1 2 3 4

Search: Search took 0.63 seconds.

  1. Replies
    16
    Views
    413

    Re: JAVA NETWORK client/server architechture

    your not telling the server what its host IP is.. the port is set to 12345 which is sort of dramatic but should be fine for an example run / learning developer. However you will need to set the IP of...
  2. Replies
    7
    Views
    229

    Re: simple calculation code

    I have already replied to the thread you posted the exact question on

    http://www.javaprogrammingforums.com/whats-wrong-my-code/32740-pls-me-out-arrays-number-print.html#post125514

    don't post...
  3. Replies
    6
    Views
    299

    Re: Pls me out on this arrays number print

    what is the problem with it exactly.. explain more what the problem is and what you are trying to achive..

    --- Update ---



    also System.out.println(aryNums[][] + " ");
    sounds like its...
  4. Re: Merge 20+ xml files with 7000+nodes into one using java

    I would actually create a for loop, First detect how many files there are... Next you want to read the file one by one, Store each line using a scanner or some other file reader method to store line...
  5. Thread: extends question

    by macko
    Replies
    2
    Views
    208

    extends question

    hi, Silly question however. I'm testing a couple of problems, For example disable all components in the swing class that extends JApplet.

    For example this code:


    public class gameLobby extends...
  6. Replies
    9
    Views
    220

    Re: How do I delete an object from my program?

    g.drawLine(10, 20, 300, 200);
    g.drawRect(100, 100, 50, 70);

    g.setColor(Color.BLUE);
    g.fillOval(x, y, 40, 40);


    it's only these lines that are using the paint method....
  7. Replies
    0
    Views
    429

    apple safari blocked java plugin

    Hey, I'm curious is there any way around this?

    I know safari have java plugin blocked for a fair reason. And java still works on firefox..
    However firefox is slow, I would prefer to get around it...
  8. Replies
    6
    Views
    505

    Re: Can't find Main Class??

    lmao copeg..

    Your JDE should have an auto format option.
  9. Replies
    2
    Views
    263

    Re: add a radio button in RichTextArea

    first of all.. why do u want to create a rich text area? Cant you simply add the radio button to a new panel..

    also.. try creating and adding the radio button to the component u want it on.. and...
  10. Re: Iterative quick sort using median of three values

    break it down to points. do a search on each part of the question you need to further understand the meaning of.

    "usually you would create an algorithm before developing a program or in this case...
  11. Thread: While Loop Issue

    by macko
    Replies
    1
    Views
    247

    Re: While Loop Issue

    when you have got the user to successfully finish the loop. then use

    break;

    to break the loop and end it..
  12. Re: how to embed combobox,checbox in JTable read write to database

    Create a JTable, User a custom cell renderer (google it).

    Then create a database class that connects to the database (google it again).

    Its all on google :) just look around and try things, We...
  13. Replies
    2
    Views
    343

    Re: html inside applet?

    Got it solved by using JLabel and adding html into the string..
  14. Replies
    5
    Views
    560

    Re: can't open jar file

    It may not be a executable jar, If it's not. Then figure out the main class and run it via a sample html page.

    Also.. If the jar isnt signed it sometimes causes problems also. Other then that id...
  15. Replies
    2
    Views
    343

    html inside applet?

    Hey guys,

    Just curious if its possible to use html inside a java applet. I am currently using a JTable for the user list, But im running into multiple errors when applet is loading and getting a...
  16. Re: Image Doesn't Display with Qualified Image Path????

    I think its kind of a bad idea to reference an image from a local drive..

    Simply copy the image file to your eclipse project main directory and refrence it as image.jpg. Either build the image...
  17. Replies
    2
    Views
    432

    Re: replaceAll() help

    try to scan word by word.. and do a if statement to check if the word is and or random

    for example you could try:


    if (word.equals("and"))
    {
    --- CODE here (use Replace not...
  18. Replies
    1
    Views
    618

    Re: custom GUI (Synth XML file) Question

    hmm... nobody?
  19. Replies
    3
    Views
    332

    Re: Options window for game

    you see that when you're adding new components to the panel/frame etc..

    I have no time to test your code but first option would be to try to reset the frame as visible as the last line of code on...
  20. Re: Simple Java Homework : Due Wendsday Afternoon PLZ HELP!

    I totally agree... I have just finished programming in college. I knew more then the teacher, Our last assignment was a multi threaded chat.. Seems the teacher didn't want to teach us networking....
  21. Replies
    5
    Views
    441

    Re: incompatible types!!

    Well it seems his trying to set a object as a string to me.
  22. Replies
    18
    Views
    2,374

    Re: Prompt user to repeat

    hmm If your new to loops, Stick to simple code such as JOptionPane

    for example a string varible getting data from the optionpane



    ...

    _strString = JOptionPane.ShowInputDialog(null,...
  23. Replies
    5
    Views
    441

    Re: incompatible types!!

    I could be wrong but just a suggestion.. when returning the object try to set it as a string. Example is:

    return((String) objectValue);
  24. Re: JToggleButton's icon won't show up when pressed!

    Where are you initializing the variable for the images..
  25. [SOLVED] Re: Uploading a Java Applet embedded in HTML to a Web server

    Do you get an error?

    You should check the hosts file.. make sure the applet allows connections.
    If the applet is a server for example.. the applet could be limited and set to localhost...
Results 1 to 25 of 196
Page 1 of 8 1 2 3 4