Search:

Type: Posts; User: copeg

Page 1 of 20 1 2 3 4

Search: Search took 0.41 seconds.

  1. Replies
    5
    Views
    6

    Re: Forum's policy on self promotion?

    I believe forum VIP's have the ability to create blogs (link at top of page) which might suffice...not sure how much visibility those get these days however.



    FYI, I have admin privileges to...
  2. Replies
    5
    Views
    6

    Re: Forum's policy on self promotion?

    Ditto what Kevin said. Hard for a concrete policy when there can be a gray area in between spam and legit, which then comes down to a judgement call on the part of the moderators. For those who come...
  3. Replies
    3
    Views
    4

    Re: HTML - Main page [Click Logo]

    I'm not sure how this even relates to java, nor what the exact problem is. Creating an entry page should be as easy as creating an index.html page containing the appropriate content/links - yet if an...
  4. Re: My PHP/Java code causes the images to overlap. Why?

    javascript != java, and this is a Java forum. Thread moved to Other Programming Languages.
  5. Re: Simple but Strange situation in my Java Code.

    I don't need the full project - the issue is contained within the code you posted (but not an easy thing to spot). Like I said, inspect that you are passing what you expect the isPalindrome method -...
  6. Replies
    3
    Views
    4

    Re: having trouble with my code

    An application needs an entry point. Suggested reading: Lesson: A Closer Look at the "Hello World!" Application (The Java™ Tutorials > Getting Started)
  7. Re: Simple but Strange situation in my Java Code.

    Both Greg and I posted SSCCE's that demonstrate the method (as posted) works as expected with the test input. So my advice would be to backup and have a hard look at the input for this method...is...
  8. Re: Simple but Strange situation in my Java Code.

    I asked for an SSCCE that demonstrates the problem - see my signature for a full description of what that is, posting the full project will result in a lot of code unrelated to the problem (and code...
  9. Re: Simple but Strange situation in my Java Code.

    Post exactly what you ran, and the result. If you ran the code I posted above, the output should be identical. Without knowing what you ran, as well as the context, we are only left to guess.
  10. Re: Simple but Strange situation in my Java Code.

    And how are you calling the method? When you run that code, what does it print? More information is often better (removes the guesswork) - here's an example of an SSCCE, using your code above plus a...
  11. Re: Simple but Strange situation in my Java Code.

    You did not state clearly how you know this. Did you add println's in there to see? Are you relying on the string returned from the method? Are you relying on a debugger? Whichever way, if you read...
  12. Re: Simple but Strange situation in my Java Code.

    How do you know it evaluates to false? The code you posted does not contain any way to test this...it is always best to post an SSCCE that shows all the code necessary to reproduce the problem
  13. Thread: SEO Section

    by copeg
    Replies
    5
    Views
    6

    Re: SEO Section

    In my years moderating this forum, I don't recall ever seeing a legitimate post related to search engine optimization - the most likely reason is because it is completely unrelated to the subject of...
  14. Thread: Java Printing

    by copeg
    Replies
    3
    Views
    4

    Re: Java Printing

    Have you read the tutorials from the 'source' (aka Oracle)?
    Lesson: Printing (The Java™ Tutorials > 2D Graphics)
  15. Re: my program for calculating the circumference and area isn't working

    See https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/windows_dos_copy.mspx?mfr=true
  16. Re: my program for calculating the circumference and area isn't working

    Where do you print the circumference? Perhaps read the API for this method...
    PrintStream (Java Platform SE 7 )
    ...or use System.out.print to print out the value.
  17. Replies
    28
    Views
    29

    Re: How to set a button event trigger?

    Suggested reading:
    How to Write an Action Listener (The Java™ Tutorials > Creating a GUI With JFC/Swing > Writing Event Listeners)
  18. Thread: JDialog

    by copeg
    Replies
    6
    Views
    7

    Re: JDialog

    I presume Ada is referring to the setLocation method of JComponent - this will not work with most layout managers. The default LayoutManager of the JDialog content pane is BorderLayout - google this...
  19. Replies
    3
    Views
    4

    Re: Open up a dialog on MYSQL

    Sorry, but to be brutally honest this statement alone suggests a fundamental lack of understanding of a what a database truly does. Normalization, primary and foreign keys, indexing, transactions,...
  20. Replies
    1
    Views
    2

    Re: subclassing DefaultMutableTreeNode Class

    Class cast each child to the appropriate class
  21. Re: Help me validate or break my conceptions of web technology

    Perhaps read up upon HTTP (S)
    Hypertext Transfer Protocol - Wikipedia, the free encyclopedia
    HTTP Secure - Wikipedia, the free encyclopedia
  22. [SOLVED] Re: Hi, Can Someone please confirm if what am trying to do with Graphics is possible...if it is, then how? Thanks

    Not sure why you need an alternative to drawing two rectangles, if that's the result you wish to achieve. This being said, have a look at the GradientPaint class
    GradientPaint (Java Platform SE 7 )...
  23. Re: JLabel as part of JTabbedPane tab component overwrites background color

    That's what I meant. Try doing so for the Tab object as well as the JLabel it contains. If what you try doesn't achieve the desired result, post the updated code.
  24. Re: JLabel as part of JTabbedPane tab component overwrites background color

    Set the opacity of the component to false.
  25. Replies
    3
    Views
    4

    Re: IM Program Client Side Problems

    public void actionPerformed(ActionEvent e1)
    {

    ip = JOptionPane.showInputDialog("Enter server IP address.");
    startIM();
    }


    Swing is single threaded, running all it's...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4