This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Rick Liberato

Ranch Hand
+ Follow
since Apr 28, 2017
Cows and Likes
Cows
Total received
1
In last 30 days
0
Total given
0
Likes
Total received
4
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rick Liberato


......... looks like this got it!


3 years ago
..... stmtB statement
3 years ago


..... don't understand why I am getting this error in my prepared statement:

now: 2017-05-20
OneYearOld: 2016-05-20

May 20, 2017 1:04:12 AM myNewSMDR.TwoWaySerialComm$SerialReader serialEvent

SEVERE: null
java.sql.SQLSyntaxErrorException: Column 'ONEYEAROLD' is either not in any table in the FROM list




3 years ago
..... Derby Database.    
3 years ago


...... this is closer to what I want (I think) .... but still not right.

3 years ago
..... after every new record saved to database, this prepared "Deleting" statement will be run next. ie: new record in , then check for oldest record in database.
3 years ago
Hi!   ..... I want to keep my data base from growing over one year of call records by itself.
My prepared statement is not right.  For every new record that gets stored into my Derby database, I then want to see if the oldest record is older than the "one year old" offset date .... if so, to DELETE that oldest record.  Also, I need to check for "null" ..... because I wount have any records over one year old for the first year!

3 years ago
This "past date" needed maybe set for lets say 30 days. I want to get this past date so I can delete any records in Derby database before this past date.
3 years ago

Hi!  I want a date 360 days from todays date.  This code is giving the same "todays date"   ..... not a date 360 days before


3 years ago
Thank-you guys for all your good help!
3 years ago
.... after 3 days of trying to do this and getting nowhere, I gave up for now.  I just now added a listener to the "911"label on the GUI that gets turned on in this event, then on label event, I call "setExtendedState(NORMAL);"
works perfect!!  .... all of 3 mins to do  :  (  
3 years ago
.... this may be what I need  , but error says "state is "private"  .... I will need to make that "public" and/or "static"  I would think.  (found in the JDK1.8)   I don't know how to change this in Netbeans GUI builder.  Is it possible to make this change in the Java JDK files itself?

3 years ago
.... making great progress!! :  )   I have at least 30 code snips that don't work  :  (

These are the only ones that allow me to compile:

            setExtendedState(Frame.NORMAL);      
            setExtendedState(JFrame.NORMAL);    
            setExtendedState(NORMAL);  

Works "in" the GUI builder Frame class  .... but not in my external class where I need it!  :  (
3 years ago
Thanks!   ..... I've run sample code like this before with no problem.  Here the code is making "its own" Frame and acting on it.

The problem I'm having is that the way Netbeans builder creates my GUI, I cant see what code is needed to take the iconified window back to a visible display.

Can you show me a simple example of a Netbeans builder created GUI Frame with an external class calling the GUI back up from the toolbar? (lets say a simple timer firing (external class) a command to de-iconify the GUI)in the GUI's "MainDisplay" class
3 years ago