Search:

Type: Posts; User: keepStriving

Page 1 of 7 1 2 3 4

Search: Search took 0.28 seconds.

  1. Beginner To Android App Development

    I have been programming in Java for some months and want to start learning about app development though I'm not sure where to start. If any app developers can recommend resources that helped them I...
  2. Replies
    1
    Views
    6

    Rotate Left bitwise shift

    I'm trying to replicate the rol(rotate left) instruction in assembly though can only get as far as shifting the bits with '<<' or doing Long.rotateLeft(var, 5). Both of these method don't wrap around...
  3. Replies
    3
    Views
    9

    Re: Double to Hex

    Is there any way in which I can get rid of the p so it does not print the hex string to the exponent?

    Basically I want it to print 0x41efd17834000000 instead of 0x1.fd17834p31.
  4. Replies
    3
    Views
    9

    Double to Hex

    I am trying to convert the double 4270571936.0000000000d to a hex string using Double.toHexString() and the answer I'm getting is 0x1.fd17834p31, what does p stands for?

    The answer I'm expecting...
  5. Replies
    6
    Views
    137

    [SOLVED] Re: Sorting with a comparator

    It works, it's not the actual source code it's just shows the template I used. getField() refers to any getter method. Object refers to the Object type the list stores.
  6. Sorting lowercase strings before uppercase strings

    I can sort strings in a collection by uppercase and then lowercase though I was wondering if there is any way of doing it in reverse, sorting by lowercase then by uppercase.
  7. Replies
    6
    Views
    137

    [SOLVED] Re: Sorting with a comparator

    Forgive the late response, just saw your post now, I did the following:



    Collections.sort(myList,
    new Comparator<Object>()
    {
    public int...
  8. Replies
    6
    Views
    137

    [SOLVED] Re: Sorting with a comparator

    The objects hold fields, I want the arraylist to sort the objects based on a certain field.
  9. Replies
    6
    Views
    137

    [SOLVED] Sorting with a comparator

    I am trying to sort an ArrayList of objects with the comparator as I want to sort based on a certain value for each object. I understand I would need to override compareTo() in the objects class, is...
  10. Replies
    7
    Views
    192

    Re: Alternatives to JFrame

    Thanks anyway, I'll continue to use JFrame.
  11. Replies
    7
    Views
    192

    Re: Alternatives to JFrame

    It says Frame parent as the first parameter, JFrame is one type of Frame that would satisfy this condition I was wondering if there would be anything else.
  12. Replies
    7
    Views
    192

    Re: Alternatives to JFrame

    There is no problem just wondering if there is an alternative, I want it to act as the parent for the FileDialog.
  13. Replies
    7
    Views
    192

    Alternatives to JFrame

    Are there any alternatives to JFrame that can be used as a parent Frame?
  14. Replies
    0
    Views
    139

    tomcat eclipse error 404 servlets

    I have got tomcat to work on eclipse when creating a html page and get access to tomcat when I do localhost:8080 though I get error 404 when creating a simple servlet. I have copied two different...
  15. Replies
    2
    Views
    189

    JSP and servlets

    I have some experience in HTML and now want to go about learning how to build web apps so I need to learn about JSP and servlets, I have an understanding of what they do though struggling to find...
  16. Replies
    2
    Views
    238

    Re: Application Design

    I mean things like shadows, animation etc.
    I'll check out the books, thanks.
  17. Replies
    2
    Views
    238

    Application Design

    I have created a couple of applications and they all have a 80's style static user interface, I want my interfaces to be more dynamic and interactive similar to modern day apps and websites. What can...
  18. Replies
    1
    Views
    241

    Java email error

    I am trying to send a mail message though get the following error after the "Transport.send(message)" command.



    com.sun.mail.util.MailConnectException: Couldn't connect to host, port:...
  19. Replies
    3
    Views
    151

    Re: Shares Tracker

    Thanks guys really appreciate your help.
  20. Replies
    3
    Views
    151

    Shares Tracker

    As a practice project I want to create a program that can give real time feedback of a certain stocks shares on my own GUI, would I need to connect to a website or something else and how could I go...
  21. Replies
    25
    Views
    515

    [SOLVED] Re: Check if system tray already exists

    I am such an idiot!!!!!!!!!!!!!
  22. Replies
    25
    Views
    515

    [SOLVED] Re: Check if system tray already exists

    In second code:
    The new thread and run method is meant to allow multithreading which it does as I can do sysTrayCreator() and connectSocket() though I slow down sysTrayCreator() so exception can be...
  23. Replies
    25
    Views
    515

    [SOLVED] Re: Check if system tray already exists

    Which is why I used multithreading. It seems to work or am I going wrong somewhere again?
  24. Replies
    25
    Views
    515

    [SOLVED] Re: Check if system tray already exists

    Turn out shutdown hook does not work for forceful exits, though I managed to get it to work for graceful exits ad understand it now.
    I have managed to do the task with sockets here is the code,...
  25. Replies
    3
    Views
    145

    Re: Hello from a new programmer

    Keep trying, the first steps are always the hardest.
Results 1 to 25 of 165
Page 1 of 7 1 2 3 4