Search:

Type: Posts; User: _lithium_

Page 1 of 3 1 2 3

Search: Search took 0.11 seconds.

  1. Replies
    14
    Views
    9,690

    Re: Making a invoice template in java

    Yeah I could look into iReports. What do you mean writing the jrxml in compilation? Like filling in the specific fields? Sorry I'm new to this whole reporting thing and trying to pick it up but...
  2. Replies
    14
    Views
    9,690

    Re: Making a invoice template in java

    Okay so i followed this guide = Integrating and Using JasperReports in NetBeans Original article by Craig Conover and Marina Sum Java DevZone

    I got it all set up, but the problem is that this...
  3. Replies
    14
    Views
    9,690

    Re: Making a invoice template in java

    Yeah I can't seem to even get it started. All the documentation I find is about javascript when I use NetBeans for Java SE6, Can you refer me to an article that oversights how to install these types...
  4. Replies
    14
    Views
    9,690

    Re: Making a invoice template in java

    I'm going to give it a slight attempt (just going to set it up and see if I can generate some sample ones to get the feel for it). You basically load the .jar into your classpath and then from there...
  5. Replies
    14
    Views
    9,690

    Re: Making a invoice template in java

    Yeah I just looked through some of the Jasper Reports documentation and it seems overly complex. I'm gonna have to read more into it to even figure out how to install it and use it if I can find the...
  6. Replies
    14
    Views
    9,690

    Making a invoice template in java

    I was wondering if anyone has any pointers on how to create a billing invoice from a java application? I have a customer database that I can store customer information and soon will add where it can...
  7. Replies
    1
    Views
    1,122

    How to go about this?

    Okay I am just messing around with some mini projects to learn the coding a bit better but I was wondering if someone could point me in the right direction with how to complete this. I want to build...
  8. Replies
    1
    Views
    2,605

    jTable popup box

    Is there a way to allow the user to right click (I have the code to detect the right click already) but have no idea how to have a mini popupbox (like the one that pops up if you right click on the...
  9. Replies
    3
    Views
    2,118

    Re: jTable trouble...

    Ok, I've decided to switch how I store the data for the jTable, but no im running into a shit ton of issues. When I call my getData() it says "Overridable method call in constructor" then when I try...
  10. Replies
    3
    Views
    2,118

    Re: jTable trouble...

    (I was currently looking into possibly using the DefaultTableModel better so I could just repaint() the damn thing easy but it is extremely hard to complete using NetBeans and there is a lack of...
  11. Replies
    3
    Views
    2,118

    jTable trouble...

    If I have a jTable that is populated with data when the program begins, and people can "Add" button, "Delete" button, and there is a "Refresh" button (part of the issue, this is used to re-populate...
  12. Replies
    6
    Views
    5,032

    Re: jTable and jdbc

    I've tried even using:

    public void doDelete(){
    int i = 0;
    int r = 0;

    while (i < 600) {
    jTable1.remove(r);

    r++;i++;
  13. Replies
    6
    Views
    5,032

    Re: jTable and jdbc

    Just one last question (i hope lol)

    What would be a good logically way of "refreshing" a jTable to reflect any changes made? I have an add and delete button and want the jTable to automatically...
  14. Replies
    6
    Views
    5,032

    Re: jTable and jdbc

    I got the button issue figured out (had to use the .setEnabled function). I feel like the GUI Builder (NetBeans) allows me to build applications way faster then using hard coding. I never thought...
  15. Replies
    6
    Views
    5,032

    Re: jTable and jdbc

    Yeah it seems I really need to start reading the API more closely (although most of it makes stuff more complex then it is), I think the thing that is throwing me off is that when I learned Java I...
  16. Replies
    6
    Views
    5,032

    jTable and jdbc

    I have my jTable populated with the data from a database using this code: try {
    String url = "jdbc:odbc:dts";
    String user = "";
    String password = "";
    ...
  17. Replies
    3
    Views
    2,264

    Re: ResultSet issues

    Nevermind I got it:
    while (rs.next()){
    String s = rs.getString(1);

    }
  18. Replies
    3
    Views
    2,264

    Re: ResultSet issues

    I basically am trying to figure out how to populate data into my jTable on my frame from my database. I just haven't added a feature to iterate (advanced for loop) through multiple entries. I just...
  19. Replies
    3
    Views
    2,264

    ResultSet issues

    Ok, I have this so far:

    String getCust = "SELECT FirstName, LastName FROM Customer WHERE FirstName = ?";
    PreparedStatement ps = con.prepareStatement(getCust);
    ...
  20. Replies
    7
    Views
    1,802

    Re: Database access..

    I'll change it to a PreparedStatement, no need to get defensive though, if the information it took to convey through 3 of your posts was placed in one post...it would of been more helpful.
  21. Replies
    7
    Views
    1,802

    Re: Database access..

    Well after looking it up, looks like that would just complicate things more. I just need to resolve the quotation problem i think
  22. Replies
    7
    Views
    1,802

    Re: Database access..

    How would I go about using that?
  23. Replies
    7
    Views
    1,802

    Database access..

    Ok, I have a slight issue, I have the following line of code:

    stmt.executeUpdate("INSERT INTO Customer VALUES (" + FName + "," + LName + "," + Addr + "," + Phone + "," + Email + ")");

    and can't...
  24. Replies
    0
    Views
    2,135

    New to NetBeans

    Ok, I've been messing around with NetBeans for a few hours and have a few issues.

    I can't figure out how to get my window size to change when I "Run Project", It seems like when i stretch the...
  25. Replies
    9
    Views
    1,929

    Re: Simple problem...

    Yeah i attempted to switch everything to integers but it won't allow me to because I need to pass .9 to the constructor and it flags it as a double.
Results 1 to 25 of 69
Page 1 of 3 1 2 3