Search:

Type: Posts; User: juanbond311

Search: Search took 0.32 seconds.

  1. Re: need help Printing output from a JTextfield

    still cant figure out how to print. i dont understand java well enough to implement PrintUIWindow into my program.
  2. Re: need help Printing output from a JTextfield

    nevermind, it printed.
  3. Re: need help Printing output from a JTextfield

    downloaded the file, compiled, and executed it. nothing printed, and i got those error messages.
  4. Re: need help Printing output from a JTextfield

    i did this, and i got these errors

    run:
    Uncaught error fetching image:
    java.lang.NullPointerException
    at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99)
    at...
  5. Re: need help Printing output from a JTextfield

    thank you so much!
  6. Re: need help Printing output from a JTextfield

    Modular Pitch: <whatever number is stored in var mod>

    Circular Pitch: <cp>

    Base Pitch: <bp>

    Pitch Dameter: <pd>

    Base Diameter: <bd>
  7. Re: need help Printing output from a JTextfield

    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
    // External Spur Gear

    // take user input and convert from char to...
  8. Re: need help Printing output from a JTextfield

    this is all i have to do to print?

    i'm sure i'll have to import java.awt.print.*

    but othersie, just print("blah blah blah)" will print to a piece of paper?
  9. Re: need help Printing output from a JTextfield

    oh, if i can get on the internet at work tomorrow, i'll post some code. thanks again for your help!
  10. Re: need help Printing output from a JTextfield

    i know how to format my output into the JTextfield

    decimalformat = new decimalformat df

    (format.df(var>).set text blah blah blah

    in order for me to use the input as a variable in a formula,...
  11. Re: need help Printing output from a JTextfield

    i convert the string from their input to a Double. do you have to convert back to a string in order to print? if so, how is that done? i've coded the whole program, except for the printing (and...
  12. Re: need help Printing output from a JTextfield

    no, theres more. that was just an example.

    lets say i take input from the user, asking for a dimension in millimeters. i want to take that dimension and turn it into inches. the formula would be A...
  13. Re: need help Printing output from a JTextfield

    thank you for these links.

    i've already looked through them, and none of them seem to fit what i'm trying to do.

    i basically have 8 panes on a Tabbed Paned container. each individual pane...
  14. Re: need help Printing output from a JTextfield

    thank you, but i know how to format my output to the swing GUI.

    as far as what i want formatted...

    here is the output in the GUI:

    JTextfield --> [3.141592654]

    printed on paper, with this...
  15. need help Printing output from a JTextfield

    hello all

    i've made a program that takes user input and enters it into a formula. the answer form that formula is output in a JTextfield.

    i'm self taught in Java, and i've only been...
  16. Replies
    8
    Views
    7,013

    Re: Print out a JFrame

    I'm having a problem printing as well. I've made a program that takes input from the user to calculate specific formulas for making gears. I'm using a tabbed pane, with Panels for each pane. input is...
  17. Replies
    2
    Views
    414

    hey guys/girl

    self taught programmer here.

    my name is dave. nice to meet everyone
Results 1 to 17 of 17