Search:

Type: Posts; User: susieferrari

Search: Search took 0.33 seconds.

  1. Re: Search for min and max values as columns position in array

    Would seek row by row and chech if value at column[1] is greater than any other columns value in the same row.
    Same for value at column[2] and there must be no lower value than this.

    Is this...
  2. Search for min and max values as columns position in array

    Hi all,

    I have an array such this simple example

    double[][]array = {{10.3,10.8,10.1,10.5},{9.3,9.8,9.1,9.5},{11.3,10.8,10.6,10.5}};
    for(int i=0;i<array.length;i++){
    ...
  3. Replies
    7
    Views
    1,384

    Re: NetBeans-style GUI

    Thank you both for your suggestions
  4. Replies
    7
    Views
    1,384

    Re: NetBeans-style GUI

    Yes I did, for my GUI I use a SplitPane and I can collapse left part, but I think the above example is a little different since once collapsed it creates an icon on the left side, just like in...
  5. Replies
    7
    Views
    1,384

    Re: NetBeans-style GUI

    Thanks for your reply copeg, I will try to as from your suggestions.

    Susie
  6. Replies
    6
    Views
    2,475

    [SOLVED] Re: Click button to open JDialog

    Ok I found how to: just add


    private void jButtonImportDataActionPerformed(java.awt.event.ActionEvent evt) {
    jDialog1.setVisible(true);
    ...
  7. Replies
    6
    Views
    2,475

    [SOLVED] Re: Click button to open JDialog

    You are right Kevin: to keep it simple, I have a Button on a Panel on a Frame. By clicking this button I would like to run a Dialog

    This is what I have for listener


    private void...
  8. Replies
    6
    Views
    2,475

    [SOLVED] Re: Click button to open JDialog

    Thanks Kevin,

    I have no code written but what NetBeans sets for swing items

    This is my main


    package analysisTool;

    import java.awt.event.ActionListener;
  9. Replies
    6
    Views
    2,475

    [SOLVED] Click button to open JDialog

    Hi all,

    in my GUI I have a button (jButtonImportData), I would like to open a JDialog by clicking this button.

    I've added jDialog1[JDialog] so I have this item in NetBeans Inspector window.
    ...
  10. Replies
    7
    Views
    1,384

    NetBeans-style GUI

    Hi all,

    I would like to design a GUI where a panel can be collapsed on left part of a Jframe, just like the attached pictures, where *Favorites* window can be minimized or restored.

    457458
    ...
  11. Replies
    21
    Views
    1,516

    Re: Display in a text area

    Thank you very much guys, you are great!

    Susie
  12. Replies
    21
    Views
    1,516

    Re: Display in a text area

    Thanks, I forgot I can set font size and color directly from palette - properties in NetBeans

    This is how it looks now

    452

    Susanna
  13. Replies
    21
    Views
    1,516

    Re: Display in a text area

    Thank you very much to you all!

    Now it print perfectly first 3 rows in txt area, is there a method to set font size?

    Susanna
  14. Replies
    21
    Views
    1,516

    Re: Display in a text area

    Thank you very much!

    It works fine, it plots first 3 rows in a text area; would it be an alternative solution to create a new array in which to copy first 3 and last three rows from array bin?
    ...
  15. Replies
    21
    Views
    1,516

    Re: Display in a text area

    Well I'm glad it all runs fine.

    What I would like to display is something like this

    0 20100401 6189.38 6238.57 6186.59 6235.56 29546500
    1 20100405 6235.56 6235.56 6235.56 6235.56 0
    2...
  16. Replies
    21
    Views
    1,516

    Re: Display in a text area

    Maybe it is because I didn't copy greyed generated code area.

    Here is the full code with expanded GUI generated code

    package mySplitProva;

    import javax.swing.UIManager;
    import...
  17. Replies
    21
    Views
    1,516

    Re: Display in a text area

    Yes correct. Now these methods let me store txt file in an array I called bin and print it.

    I would like to have first 3 and last 3 rows of this array displayed in a text area in main class, with...
  18. Replies
    21
    Views
    1,516

    Re: Display in a text area

    Hi JavaPF, thanks for your kind reply!

    This is an example of text file



    This is my main class

    package mySplitProva;
  19. Replies
    21
    Views
    1,516

    Display in a text area

    Hi all, I am new in this forum and this is my first post: I am a Java beginner and I hope to have some help from you.

    I my main class (SplitJFrame) I have a GUI with a text area: in another class...
Results 1 to 19 of 19