Search:

Type: Posts; User: Blykon

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    948

    Re: Creating new objects within methods

    I'm sorry man I don't have a solid foundation in programming or Java, so I'm not even sure what you posted.
    Tell me if this is right or wrong.
    Where you have blah, my array values will be? Or will...
  2. Replies
    5
    Views
    948

    Re: Creating new objects within methods

    Thats what I posted in the OP lol.
    I just don't know how to take the user input and enter it into a method that creates the object and assigns the object a name like User1, then the next created...
  3. Replies
    5
    Views
    948

    Creating new objects within methods

    I want to make a program where users are prompted to enter a username and a password and have these two values create a new instance of the Object User. But I'm not sure where to start. Can anyone...
  4. Replies
    14
    Views
    1,060

    Re: Not Sure Whats Wrong

    I actually had that initially but I removed it from inside the for loop because I was getting an exception and I tried to see if it would help removing it from there.

    --- Update ---

    I actually...
  5. Replies
    14
    Views
    1,060

    Re: Not Sure Whats Wrong

    I'm not seeing any place where the curley brackets are used incorrectly. I'm guessing you are talking about a scope issue?
  6. Replies
    14
    Views
    1,060

    Re: Not Sure Whats Wrong

    I have tweaked it And pondered on it for hours and cannot figure it out.

    Edit: Lmao nvm

    --- Update ---

    import java.util.*;

    public class Main
    {
  7. Replies
    14
    Views
    1,060

    Not Sure Whats Wrong

    import java.util.*;

    public class Main
    {
    public static boolean isPart;
    public static String x[] = {"One", "Two", "Three", "Four", "Five"};
    public static void main(String[] args)
    {
    ...
  8. Replies
    1
    Views
    837

    Perfecting My Designing Technique

    Hi, I will be using this to document my progress on my first solo Java project. I will be taking notes on anything I've learned from this project and posting them here for feedback. Criticism is...
  9. Replies
    18
    Views
    1,245

    Re: Game over method not updating correctly

    I have an idea for a project. Making an application that stores data and creating a search function for it. The problem is I don't know where to start. What would you say would be a good start.
  10. Replies
    18
    Views
    1,245

    Re: Game over method not updating correctly

    I actually have been doing th. It hasn't been helpful.
  11. Replies
    18
    Views
    1,245

    Re: Game over method not updating correctly

    Well what is making my code update the win Boolean after the win has occurred?
  12. Replies
    18
    Views
    1,245

    Re: Game over method not updating correctly

    I'm a self-taught programmer so I don't have the best foundation. Not sure what infinitely recursive really means so I'm not sure how I could fix that.
    What do I need to be studying so that I can...
  13. Replies
    18
    Views
    1,245

    Re: Game over method not updating correctly

    Updated code
    -Changed to .equals()
    -Changed the order of the methods


    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;

    public class TicTacToe extends JFrame implements...
  14. Replies
    18
    Views
    1,245

    Re: Game over method not updating correctly

    I fixed that and it still takes an extra count to display the winning message.
  15. Replies
    18
    Views
    1,245

    Re: Game over method not updating correctly

    Junky, that was an issue I hadn't noticed. My main issue is it updating the win a whole count value after the win happens. So if you click a third x in a row, you have to click another O for it to...
  16. Replies
    18
    Views
    1,245

    Game over method not updating correctly

    If I run this code. I can manipulate it so that X wins. When the third X button is pressed, there is no display saying that X has won and that the game is over. I have read over this code for days...
Results 1 to 16 of 16