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...
Type: Posts; User: susieferrari
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...
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++){
...
Thank you both for your suggestions
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...
Thanks for your reply copeg, I will try to as from your suggestions.
Susie
Ok I found how to: just add
private void jButtonImportDataActionPerformed(java.awt.event.ActionEvent evt) {
jDialog1.setVisible(true);
...
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...
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;
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.
...
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
...
Thank you very much guys, you are great!
Susie
Thanks, I forgot I can set font size and color directly from palette - properties in NetBeans
This is how it looks now
452
Susanna
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
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?
...
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...
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...
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...
Hi JavaPF, thanks for your kind reply!
This is an example of text file
This is my main class
package mySplitProva;
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...