Search:

Type: Posts; User: tools

Page 1 of 2 1 2

Search: Search took 0.56 seconds.

  1. Replies
    2
    Views
    216

    Re: Why the value of ' i' is 0;

    1. First use f@?#!% code block
    2. Take a look a this:


    56347d1b:java tools$ java test
    I base: 2
    2 Base: 0
    i===0
    i: 222
    56347d1b:java tools$
  2. Re: difference between import and extends in java

    If you importer a class you allow to use methods, or create objects based on those classes in a package or specified class.
    Extends tells is extending a class and say hey I am bit like you.

    But...
  3. [SOLVED] Validation of user, fails ned a point in the right direction

    1. sorry for spamming the forum with question lately, but this is kinda of important.

    I have create a user and have used hashing and saltning to encrypt the password, but my authentication fails,...
  4. Replies
    6
    Views
    389

    Re: Is Hibernate worth it?

    mapping is all so in the cof file, funny thing -> If I delete the database and create it again the code works for a couple of times then same error
  5. Replies
    6
    Views
    389

    Re: Is Hibernate worth it?

    My Hibernate file:


    <?xml version='1.0' encoding='utf-8'?>
    <!DOCTYPE hibernate-configuration PUBLIC
    "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
    ...
  6. Re: how to change DB design for a change in java

    That dependes, some databases don't allow it, others do but 50 fields sound like at lot to me.
    Personally I would make a ObjectExtra table then
  7. Replies
    7
    Views
    254

    Re: simple calculation code

    You have an illegal whitespace and you can't just convert at string to double like you try to
  8. Replies
    6
    Views
    389

    Re: Is Hibernate worth it?

    Okay now I am going with Hibernate and get this error:


    Hibernate: drop table if exists Book
    Hibernate: create table Book (id integer not null auto_increment, createdDate datetime, isbn...
  9. Replies
    6
    Views
    277

    Re: Difference in time with alternative methods

    1. Fair and square
    2. I have always been told it both by Lectures, my employers and the dude from Oracle who taugth my class once :)
  10. Replies
    6
    Views
    389

    Is Hibernate worth it?

    Hey I am writing an JSP based web application for maintaing and keep inventory of 2000+ books.
    The data will be store persistent in a MySQL or PostgreSQL DB (have not decide yet), and I am use to...
  11. Replies
    6
    Views
    277

    Re: Difference in time with alternative methods

    First of all System.currentTimeMillis() is based on your chip time, which is NOT the time your clock is.
    Second of all I can pin point it but something in the calculations seems wrong to me.
    Third...
  12. Replies
    3
    Views
    619

    Re: want to learn java from basic with oop

    1. Do you have a project, you want to make with java?
    2. See 1, if yes then 3.
    3. The Oracle resource newbie links to is pretty decente
    4. When you get a hold of the basic in java (class and...
  13. Re: Is a splashscreen an option or even a good idea?

    @copeg and aussiemcgr thank you I will use that :)
  14. Replies
    4
    Views
    541

    Re: Your first job experience

    I have to first times System and web developer:
    System developer:
    1. Very nice, People helped me a lot because I was entry level and 17 (yep still in highschool)
    2. Did not, I was not ready at...
  15. Re: I've got a question for you guys about college...

    It also depend on the country in which you search for a job.
    For instance in Denmark if you have two degrees people think what a wast of time or dude didn't he know what he wanted.
  16. Re: Is a splashscreen an option or even a good idea?

    Well my users like all their notes a soon as the application start, but they are represent in a JTree by name. Could a solution instead be like this:
    Under startup: Load note name (not unique) and...
  17. Re: Big Rookie Question - New to Java, small problem Help appreciated!

    @jps Thank you hand't seen that :)
  18. Replies
    1
    Views
    170

    Hello fellow java dudes

    A hello from scandinavia.
    I am dude with around accumulated 7 years of programming in:
    Java
    C / C++ / C# / Obj-C
    Ruby
    Haskell
    Assembly AT&T and INTEL
    Lisp
    ColdFusion 9
    I have worked for a...
  19. Re: Is a splashscreen an option or even a good idea?

    Okay Splashscreen it is

    @jps - could an idea be to make struct like objec of a note containing name and db id perhaps ?
  20. Re: Big Rookie Question - New to Java, small problem Help appreciated!

    Thank you
  21. Replies
    14
    Views
    3,799

    Re: How much per a month?

    I form Denmark where C# and Java programmers are neck and neck, but a bit below C programmers and an entry level java programmer should accept a anual salary of 420000DKK so approx 76001USD a year...
  22. Replies
    6
    Views
    680

    Re: Programming books that inspired you

    Object oriented design and Patterns by Cay Horstman - A great way to learn the different patterns
  23. Replies
    4
    Views
    218

    Re: Creating methods with Arrays

    You never ever call the writeToFile method
  24. Re: BlueJ question: "Error: illegal initializer for java.util.ArrayList"

    You can find the answer to the question here: java - How do I enter parameters for an ArrayList in BlueJ? - Stack Overflow
  25. Re: Big Rookie Question - New to Java, small problem Help appreciated!

    For some reason I can't edit prior post, you never initialise number 2 either so all things you do with it will never work

    --- Update ---

    What is wrong with the edit function?

    Anyways:


    ...
Results 1 to 25 of 27
Page 1 of 2 1 2