Search:

Type: Posts; User: jocdrew21

Page 1 of 6 1 2 3 4

Search: Search took 0.47 seconds.

  1. [SOLVED] Re: How to change image when a key is pressed?

    Can you please use code tags when posting code like



    //The panel class
    package learnGUI.rev;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
  2. Replies
    11
    Views
    156

    Re: Help me please with this

    I did not run this program but something stood out. Check out my comments below in main and the getResponse method.



    package com.textgame.Game;

    import java.util.Scanner;

    public class...
  3. Replies
    6
    Views
    101

    Re: modularity and interfaces:

    I am adopting this way of programming. What about packages? Is there a rule of thumb or good practice with modularity when creating packages? For example, take interface car, and make it its own...
  4. Replies
    22
    Views
    272

    Re: returing my value from an array

    I skimmed over this feed and think I have found the issue here. The code below is not tested:



    public static int getLowest(int[] yourNumbers) //you have to return something since you declared...
  5. Replies
    6
    Views
    101

    Re: modularity and interfaces:

    It was/is, I was just wondering if you worked with it so I could pick your brain a little more. :)
  6. Replies
    4
    Views
    71

    Re: Breadth first Search:

    Thank you...
  7. Replies
    6
    Views
    101

    Re: modularity and interfaces:

    Thank you...

    Do you use OSGI?

    I have taken notice to Spring and it seems to have something for modularity already. I guess I am trying to wrap my head around this new concept. I understand it...
  8. Replies
    4
    Views
    71

    Breadth first Search:

    I have done this before in C++ but now I want to do it in Java. I am not sure how to iterate through a ArrayList, I have look several places because lets be honest the first stop is normally google....
  9. Replies
    6
    Views
    101

    modularity and interfaces:

    I am studying OSGI and it seems that it always wants me to create a interface, then my code and put the whole thing in one package. In C++ this sort of thing in forced with the .h file besides the...
  10. Replies
    13
    Views
    46

    Re: Making a web site in Java

    You have a point there.
  11. Replies
    0
    Views
    29

    [SOLVED] Different versions of Eclipse?

    I trying to do some more fun projects and I thought what better why they to do some Android programming. I am using Kepler Service Release 2 with Eclipse and when I try to add the plug in it is...
  12. Re: I have no idea where or how to start!!

    Greg and Norm are of the most helpful people on here. Think how many times they have read post like yours. No code, no flow chart, or any logical way they are thinking about solving the problem. I am...
  13. Re: Why can't I get my variable to display?

    public static int retriveInput(int numInput)

    Just like Nijan said...
  14. Replies
    13
    Views
    46

    Re: Making a web site in Java

    End goal is to have a easy to use website, one that I can put my projects on. For example lets say a employer is reading my CV and I list this page. They can go to it and have an idea of who I am,...
  15. Replies
    13
    Views
    46

    Re: Making a web site in Java

    CSS does something javascript does and the less javascript I use the better. Now every browser works well with javascript. So are as moving parts and making it more flashy i could always through in...
  16. Replies
    13
    Views
    46

    Re: Making a web site in Java

    Thank you. Learning JavaEE next. Just glad I can do this all in one place. I just want to use JavaEE, mySQl for back-end, and HTML, CSS for front-end. I learned PHP but forgot a lot of it and been...
  17. Replies
    13
    Views
    46

    Making a web site in Java

    This might make me look pretty silly but I was curious if there was a way to make a dynamic web page in java. Basically only using pure Java, with only HTML5, CSS and mySQL. :confused:
  18. Re: My program is not displaying the answer :(

    Yes cornix is correct wrong terminology....
  19. Re: My program is not displaying the answer :(

    in your getter method you just declared another variable but assigned it a double, and your global variable were a float. If you do something like


    private double sales;

    This is a global...
  20. Re: My program is not displaying the answer :(

    sorry.....
  21. Re: My program is not displaying the answer :(

    *** code removed


    You were not putting displaySales() in your try statement, you were not setting your global variables once your radio buttons were selected, you were just creating another...
  22. Replies
    11
    Views
    31

    [SOLVED] Re: Making Eclipse Faster?

    The update might have worked but this was really the issue. I have Mackeeper on my computer and I always leave my antivirus on. Well when I updated my computer it turned it off. Naturally I turned it...
  23. Replies
    11
    Views
    31

    [SOLVED] Re: Making Eclipse Faster?

    Must have been mavericks. A new update came out and eclipse is flying as if I was compiling a C family program.
  24. Replies
    11
    Views
    31

    [SOLVED] Re: Making Eclipse Faster?

    I power down every day, I will check on the CPU. When it was working great the fan was very loud and the battery also went fast. Now it is quite as a mouse and the power last as it should. Weird...
  25. Replies
    11
    Views
    31

    [SOLVED] Re: Making Eclipse Faster?

    I reinstalled eclipse and I am still having the same issue. It was very slow at first then was working AWESOME after a week. It was weird but after two works of working like a charm it is back to...
Results 1 to 25 of 137
Page 1 of 6 1 2 3 4