Search:

Type: Posts; User: Olympaphibian89

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    943

    Re: Need my code to update a variable

    I tried putting my actionPerformed method before JVideo() (I think this is what you were referring to) but it didnt change anything, then I pulled my if statements out from there and put them right...
  2. Replies
    3
    Views
    943

    Need my code to update a variable

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

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class JVideo extends JFrame implements...
  3. Replies
    5
    Views
    1,376

    Re: Help With JComboBox

    wow... thank you so much, haha. its always something simple

    --- Update ---

    wohoo, i can finally begin on the rest of the project where clicking these things actually does something!
  4. Replies
    5
    Views
    1,376

    Re: Help With JComboBox

    package Components;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class JVideos extends JFrame implements ActionListener
    {
    JLabel explainSelector = new...
  5. Replies
    5
    Views
    1,376

    Re: Help With JComboBox

    kinda was cut and pasted >.<
    I had originally had the code outside the method and after seeing examples of others code I moved much of my code inside of the JVideos method. It would build before but...
  6. Replies
    5
    Views
    1,376

    Help With JComboBox

    package Components;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class JVideos extends JPanel implements ActionListener
    {
    JLabel explainSelector = new...
  7. Replies
    4
    Views
    1,315

    Re: array bubble sort

    huzzah!!! I got it working. I just sat here and really stared at it for a while. then I ran into the problem of this just going through the list once and it would print.
    Posting this in case anyone...
  8. Replies
    4
    Views
    1,315

    Re: array bubble sort

    Im still new to this. as Im reading my code Im thinking I need to include an if statement to check then switch the two numbers around inside of the for loop
  9. Replies
    4
    Views
    1,315

    array bubble sort

    hello :)
    Okay, with this bit of code im working on listing a disorganized double array into ascending order. I used an example from my text book to run organize using bubble sort. Only issue is that...
  10. Loop to find and replace multiple instances of a char

    So im trying to create a hangman like game. Ill add to it later but right now I just need the basics.
    I'm trying to create a loop to find the position that a guessed letter is in then replace the...
  11. Replies
    2
    Views
    1,132

    Re: Die Rolling Program

    Ah, I see it now. Yes, I forgot to actually call the into play the set method. I'm just jumping back into programming after a about a 2 year break so I'm super rusty. It runs fine now, tyvm.
  12. Replies
    2
    Views
    1,132

    Die Rolling Program

    So first I'm supposed to create a Die class for generating a random number from 1 to 6

    import java.util.*;
    public class Die
    {
    int faceValue;
    final int HIGHEST_DIE_VALUE = 6;
    final int...
  13. Re: I dont see anything wrong with this(simple beginner code)

    ah, thank you very much! I sat here staring at it for what seemed like an eternity and couldn't see the problem. I see it now, hidden in plain sight!!!
  14. I dont see anything wrong with this(simple beginner code)

    import java.util.Scanner;
    public class SetUpSite2

    {
    public static void main(String[] args)
    {
    final int FOUNDED_YEAR = 1977;
    int currentYear;
    int age;
Results 1 to 14 of 14