Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reselect logs after a JDialog returns  RSS feed

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, thank you for assisting continuously, my project is nearly finishing iteration 1
Now I am going to wrap it up today.
Now what I can't do is the reselection of logs
ActionPanel contains buttons, like maintain maintainence records, when it returns
elogPanel is to be refreshed, I have grouped the selection statement into a method called select
but when should I call it?

 
m Korbel
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
time to

- overload methods in public GradientPanel with getPreferredSize then public GradientPanel createCustomerPanel(myDimension, myChild, myChild, color1, color2) { can creating diff Object as public GradientPanel createCustomerPanel(myDimension, color1, color2) {

- never to alllow public Whatever throws SQLException {, you can lost this exception, sure maybe is important for you, maybe not,

- brrrr bot this is very important you need to know any exception ....

- this.xxxXxx can be pretty misspelled, if is there created another JComponents hierarchy from different classes

- Swing JComponents to be reusable, is there reason to recreating this Object

- splitPane0.setDividerLocation(570); should be wrapped into invokeLater

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
m Korbel wrote:time to

- overload methods in public GradientPanel with getPreferredSize then public GradientPanel createCustomerPanel(myDimension, myChild, myChild, color1, color2) { can creating diff Object as public GradientPanel createCustomerPanel(myDimension, color1, color2) {

- never to alllow public Whatever throws SQLException {, you can lost this exception, sure maybe is important for you, maybe not,

- brrrr bot this is very important you need to know any exception ....

- this.xxxXxx can be pretty misspelled, if is there created another JComponents hierarchy from different classes

- Swing JComponents to be reusable, is there reason to recreating this Object

- splitPane0.setDividerLocation(570); should be wrapped into invokeLater



Thanks Korbel, I have done it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!