Search:

Type: Posts; User: thisbeme

Search: Search took 0.07 seconds.

  1. Database Connect Error on Eclipse ( JAVAEE/Glassfish)

    I cant connect to the database in Eclipse though I already started the database. ( I did asadmin start-database on the cmd )

    This thing shows up on my screen:
    1089

    Do I need to install...
  2. Re: what project would be good for beginners? [opinions needed]

    im already familiar with the java language but thanks for the link
    not a complete beginner here
  3. what project would be good for beginners? [opinions needed]

    I'm planning on making system.
    Can anyone give me something that would be not too easy but not too difficult... maybe for beginners
    I want to make a system with GUI and database as a part of my...
  4. Replies
    1
    Views
    2,589

    Java EE - PhpMyAdmin - How to connect?

    So my mentor told me that connecting database in Java EE is different from SE. I am starting learning Java EE and I was wondering if anyone can help me how to connect Java EE using PhpMyAdmin.

    I...
  5. Replies
    16
    Views
    1,570

    Re: How do I put action with my auto-gen UI?

    what if i used setText? isnt that the same with printlns?

    like in the answer field i did this:

    textField3.setText(Integer.toString(ans))

    isnt this already printing out the message?
  6. Replies
    16
    Views
    1,570

    Re: How do I put action with my auto-gen UI?

    When I click the button with equals the button5ActionPerformed method is executed.
    I dont have any printlns in my code. I added the action Listener below the action perform methods.

    here is my...
  7. Replies
    16
    Views
    1,570

    Re: How do I put action with my auto-gen UI?

    My bad. I forgot to put what happens. Anyways thanks for the reply

    Well my code does run and it does not give any error message.
    When I run it, the other components are working, except for the...
  8. Replies
    16
    Views
    1,570

    Re: How do I put action with my auto-gen UI?

    Yeah thats what JFormDesigner does.
    No I havent coded a GUI by myself before.

    I already read that link and a few books about Action Events. Plus theres already actions in my button and its...
  9. Replies
    16
    Views
    1,570

    Re: How do I put action with my auto-gen UI?

    Yup I know that it is wrong. I read that tutorial already but thanks for the link.

    I still need help well my code does receive the input x and y but does not produce the answer. Can anyone tell...
  10. Replies
    16
    Views
    1,570

    Re: How do I put action with my auto-gen UI?

    i realized that in JFormDesigner you can actually add ActionListener... now my new problem is I am not that knowledgeable what usually is inside that. So I would like to ask if what is the...
  11. Replies
    16
    Views
    1,570

    How do I put action with my auto-gen UI?

    Can anyone help put action in my code. I need cant really understand about the action listener or event listener. I dont even know where or what to put in it. I already tried reading some tutorial...
  12. Replies
    1
    Views
    1,599

    Bubble Sort Int Array Problem

    the error says int cannot be deferenced at java line 11
    here is the code.
    how do i fix that?


    public class SortInt
    {
    public static void sort(int cases[]) //Sorting fuction,...
  13. Replies
    1
    Views
    1,432

    [SOLVED] Help me finish this program :(

    This is due this Saturday and the compiler just keeps sending me error. Probably because I am not that knowledgeable enough with JAVA yet so I hope you guys can help me with what is wrong with my...
  14. Replies
    1
    Views
    1,189

    Looping / OutOfBounds code problem

    Here is my code:

    public class Player{
    public static void main(String [] args) {
    int myBriefcase;
    int myCaseIndex;

    int[] cases = {1 , 2 , 5 , 10 , 25 , 50 , 75,
    100 , 200 , 300...
  15. Replies
    5
    Views
    1,867

    Re: Lowest Term Function Help

    yes it execute and compile but...

    I still need to make a new function which is Simplify(), wherein it will give the lowest term of the numerator and the denominator. I already got the GCD, so how...
  16. Replies
    5
    Views
    1,867

    Re: Lowest Term Function Help

    im sorry i was to lazy to search about it. well anyways thanks about that euclid's algorith thing, i tried to search it and somehow i got how it works. thanks again.

    but i still have a problem...
  17. Replies
    5
    Views
    1,867

    Lowest Term Function Help

    public class RectangleDos{

    public static int num;
    public static int den;
    public double val;

    public void display(){
    System.out.println("FRACTION: " + num + "/" + den);
    }
  18. Replies
    4
    Views
    1,498

    Re: Need help with my double return function.

    Thanks I tried it and it worked!

    im just wondering if thats the only way to force the compiler to use floating point arithmetic?
  19. Replies
    4
    Views
    1,498

    Need help with my double return function.

    public class Rectangle{

    public int num;
    public int den;
    public double val;

    public void display(){
    System.out.println(num);
    System.out.println(den);
    }
Results 1 to 19 of 19