Click here to Skip to main content
16,012,316 members
Home / Discussions / Java
   

Java

 
AnswerRe: Override annotation member variable at runtime Pin
lrinish2-Nov-13 13:59
lrinish2-Nov-13 13:59 
GeneralRe: Override annotation member variable at runtime Pin
Lash207-Nov-13 8:25
Lash207-Nov-13 8:25 
AnswerRe: Override annotation member variable at runtime Pin
jschell7-Nov-13 9:22
jschell7-Nov-13 9:22 
QuestionRising error in Constructor-based Dependency Injection, Spring Framework Pin
kmb8930-Oct-13 15:44
kmb8930-Oct-13 15:44 
SuggestionRe: Rising error in Constructor-based Dependency Injection, Spring Framework Pin
Richard MacCutchan30-Oct-13 22:05
mveRichard MacCutchan30-Oct-13 22:05 
AnswerRe: Rising error in Constructor-based Dependency Injection, Spring Framework Pin
Bernhard Hiller31-Oct-13 1:31
Bernhard Hiller31-Oct-13 1:31 
QuestionJSpinner value from Database. Pin
chdboy27-Oct-13 2:31
chdboy27-Oct-13 2:31 
AnswerRe: JSpinner value from Database. Pin
jschell30-Oct-13 8:18
jschell30-Oct-13 8:18 
You should have a database layer. It should NOT have any gui code in it.
It provides a public API that allows an external caller to interact with the layer.
The layer interacts with the database.

That public API would have a method/class that would represent "save interval" and "get interval" where the 'interval' values represent '1 month', '3 Months', '6 months' (and note that I am NOT saying to store "1 month" as a value.)

The 'save' method uses a database insert or perhaps update statement. And the 'get' uses a database query statement.

You code that and test it.

After you do that THEN your gui code, specifically the JSpinner uses the two methods.
Questionpublic and private RSA keys Pin
Beulah Dalrymple25-Oct-13 11:41
Beulah Dalrymple25-Oct-13 11:41 
AnswerRe: public and private RSA keys Pin
Richard MacCutchan25-Oct-13 22:58
mveRichard MacCutchan25-Oct-13 22:58 
QuestionNavigationa with ResultSet Pin
chdboy24-Oct-13 21:55
chdboy24-Oct-13 21:55 
AnswerRe: Navigationa with ResultSet Pin
Nagy Vilmos24-Oct-13 22:41
professionalNagy Vilmos24-Oct-13 22:41 
GeneralRe: Navigationa with ResultSet Pin
chdboy26-Oct-13 20:57
chdboy26-Oct-13 20:57 
QuestionPutting a split String in a printout. Pin
chdboy23-Oct-13 19:58
chdboy23-Oct-13 19:58 
AnswerRe: Putting a split String in a printout. Pin
Richard MacCutchan23-Oct-13 21:30
mveRichard MacCutchan23-Oct-13 21:30 
GeneralRe: Putting a split String in a printout. Pin
chdboy23-Oct-13 23:16
chdboy23-Oct-13 23:16 
GeneralRe: Putting a split String in a printout. Pin
Richard MacCutchan23-Oct-13 23:23
mveRichard MacCutchan23-Oct-13 23:23 
GeneralRe: Putting a split String in a printout. Pin
chdboy24-Oct-13 0:53
chdboy24-Oct-13 0:53 
Questionapplets Pin
Member 1035631323-Oct-13 18:28
Member 1035631323-Oct-13 18:28 
AnswerRe: applets Pin
Richard MacCutchan23-Oct-13 21:28
mveRichard MacCutchan23-Oct-13 21:28 
QuestionRe: applets Pin
Member 1035631324-Oct-13 16:30
Member 1035631324-Oct-13 16:30 
AnswerRe: applets Pin
Richard MacCutchan24-Oct-13 21:15
mveRichard MacCutchan24-Oct-13 21:15 
SuggestionRe: applets Pin
Member 1035631324-Oct-13 22:01
Member 1035631324-Oct-13 22:01 
QuestionSomething is wrong with the print command. Pin
chdboy21-Oct-13 3:31
chdboy21-Oct-13 3:31 
AnswerRe: Something is wrong with the print command. Pin
angrybobcat21-Oct-13 23:01
angrybobcat21-Oct-13 23:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.