Search:

Type: Posts; User: JonLane

Page 1 of 5 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    1,708

    Re: building a composite image

    nopers. Ill get started.
  2. Re: Phase one clean up! (windows style file loader/saver WANTED)

    looks very promising, Ill let you know tomorrow when i get it all working.
    Thanks Copeg (as usual) once I get this thing running and hopefully marketed, Ill be sure to send you some meager royalties...
  3. Replies
    9
    Views
    5,249

    Re: Solving a polynomial

    Get the String:
    String equation = user input;

    Separate the string into a String list(array? arrayList?) of components.

    example
    equation = x^7+13x^4-22

    your string array looks like
    string1...
  4. Replies
    10
    Views
    3,039

    Re: Resizable image?

    It seems behavior I witnessed in my program earlier this week is due to something else, the SSCCE using only layout managers failed to resize the image
    sorry for the rabbit chase knightmetal!

    ...
  5. Replies
    2
    Views
    1,708

    building a composite image

    EXAMPLE:
    say I wanted to make a quilt, and I have a png of same sized different color squares

    I am thinking of painting these on to a JPanel of the required size.
    (If I wanted the JPanel/Quilt...
  6. Replies
    10
    Views
    3,039

    Re: Resizable image?

    My experience is if you tell the image to be added inside a boarderlayout/Center it has demands on the object for resizing, and will demand it to be a certain size, so rethinking it, you would need...
  7. Replies
    3
    Views
    7,363

    [SOLVED] Re: Linked List (adding alphabetically)

    when you are making a linked list. common areas of extra caution are:

    The root/head/top/front:
    No matter what you call it, the first node is different because when it is added to the linked list,...
  8. Replies
    10
    Views
    3,039

    Re: Resizable image?

    EDIT:
    the order you add things makes a difference too.

    add(panel);
    panel.add(label, BorderLayout.CENTER);

    repaint();
    panel.repaint();

    can probably be shortened to just reversing the...
  9. [SOLVED] Re: I'm trying to combine 2 files into 1. Please help

    I'm trying to combine 2 files into 1. Please help

    when using file writer there is a way to tell it to append the file. (aka, add to the end of what is already there instead of overwriting it.)
    ...
  10. Re: Simple Remote control program - ImageIO exceptions , no idea why! Help please :(

    Unpredictable freezes are a good sign of a memory problem, any chance you are keeping track of/creating objects you don't need to be? something simple like making a new file reader inside a loop...
  11. Replies
    9
    Views
    2,047

    Re: Help writing the IF statement for Y/N

    to save you the trouble later in your coding career,
    if you want a true or false responce (called a boolean) from comparing two Strings, == will not work because it compares the LINK/Pointer of the...
  12. Replies
    10
    Views
    3,039

    Re: Resizable image?

    well if your image is inside your resizable frame, I would suggest to try giving your frame the BorderLayout, then add your image to the center area.
    (do a search on BorderLayout for cut and paste...
  13. Re: Phase one clean up! (windows style file loader/saver WANTED)

    imported classes for my .jar program (attempting to ensure a malware free promise)
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    import java.awt.event.*;
    import javax.swing.*;

    There...
  14. Phase one clean up! (windows style file loader/saver WANTED)

    Hi everyone! I finally have a nicely working version of my program and I am looking to clean up the file input/output.

    Currently I have used Strings, Files, and URLs, in a blended mess of...
  15. Replies
    6
    Views
    3,347

    Re: To remove duplicate values from 2 big files

    Well I am curious now, What is a HashMap and how does it work?
  16. Replies
    6
    Views
    3,347

    Re: To remove duplicate values from 2 big files

    well assuming the files are not monstrously large a single pass sort to start.

    then once sorted you would keep track of your files in tandem.

    showing an example of the process is better then...
  17. Re: JavaMail Error: javax.mail.AuthenticationFailedException

    did you read the exception? it says no password specified, so I would look up how to tell your code what the password is.
    That being said I have never used JavaMail. So I don't know how why your...
  18. [SOLVED] Re: Completely new to saving Data! need resources to read clear concepts.

    Well, I have my weeks work cut out for me, thanks again copeg.
  19. [SOLVED] Re: Completely new to saving Data! need resources to read clear concepts.

    Okay, that is how i would have done it with out access to any of your minds, and reading it from your words it is starting to seem more reasonable.

    So I guess the only question that is left is how...
  20. [SOLVED] Re: Completely new to saving Data! need resources to read clear concepts.

    If you are willing to compile a 1 folder 7 class program I would be happy to post the program and explain it very specifically.

    Otherwise, to be honest I have no clue what I need, I just know its...
  21. [SOLVED] Completely new to saving Data! need resources to read clear concepts.

    preferences is interesting but too lightweight since its used for primitives. (thanks Sean)

    Completely new to data basing, any good resources to start with? (looking for learning info so it...
  22. Replies
    6
    Views
    1,999

    [SOLVED] Re: I need help with saving state data.

    moving questions to Data base section!
  23. Replies
    6
    Views
    1,999

    [SOLVED] Re: I need help with saving state data.

    How does preferences delete magically stored data, I have been testing preferences and don't want to fill up my memory with useless data! I am sure this isn't a risk knowing how java works in other...
  24. Re: Getting AbstractMethod Exception in Asynchronous Servlet3.0 application

    This is beyond my familliarity, stab in the dark based on how abstract keyword fuctions,
    if the class of the object inside req has the abstract method startAsync();
    another possibility would be if...
  25. Thread: Java program

    by JonLane
    Replies
    3
    Views
    1,417

    Re: Java program

    it sounds like a big project!

    I would take the problems as they come, I would leave checking for anomalies AFTER you have written your base code.
    for your main program you will need to read in...
Results 1 to 25 of 106
Page 1 of 5 1 2 3 4