Search:

Type: Posts; User: macko

Page 1 of 8 1 2 3 4

Search: Search took 0.36 seconds.

  1. Thread: extends question

    by macko
    Replies
    2
    Views
    112

    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...
  2. Replies
    9
    Views
    131

    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....
  3. Replies
    0
    Views
    254

    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...
  4. Replies
    6
    Views
    201

    Re: Can't find Main Class??

    lmao copeg..

    Your JDE should have an auto format option.
  5. Replies
    2
    Views
    170

    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...
  6. 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...
  7. Thread: While Loop Issue

    by macko
    Replies
    1
    Views
    182

    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..
  8. 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...
  9. Replies
    2
    Views
    207

    Re: html inside applet?

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

    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...
  11. Replies
    2
    Views
    207

    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...
  12. 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...
  13. Replies
    2
    Views
    319

    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...
  14. Replies
    1
    Views
    468

    Re: custom GUI (Synth XML file) Question

    hmm... nobody?
  15. Replies
    3
    Views
    230

    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...
  16. 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....
  17. Replies
    5
    Views
    310

    Re: incompatible types!!

    Well it seems his trying to set a object as a string to me.
  18. Replies
    18
    Views
    1,603

    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,...
  19. Replies
    5
    Views
    310

    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);
  20. Re: JToggleButton's icon won't show up when pressed!

    Where are you initializing the variable for the images..
  21. [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...
  22. Replies
    5
    Views
    285

    Re: issue with logging!!

    for a start.. Try to put in a few System.out.println()'s .. to check the value of every variable in that method.

    EDIT: Make sure that they are printing out the correct details your after.
  23. Replies
    5
    Views
    285

    Re: issue with logging!!

    Could you post the code ?
  24. Replies
    1
    Views
    468

    custom GUI (Synth XML file) Question

    Ok i guess this is more of a question then a problem.

    I have begun using a SYNTH look and feel method that reads a XML file and sets the design according to that.

    method for setting look and...
  25. Replies
    1
    Views
    247

    Re: Java licensing system URGENT

    nobody culd help so i did a dodgy trial system for now..



    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    import...
Results 1 to 25 of 192
Page 1 of 8 1 2 3 4