Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Placing logger call
Placing logger call [message #130378] Fri, 25 August 2006 12:35 Go to next message
Eclipse UserFriend
I have to place a permanent logger debug call before swingutilities
invokelater paragraph. By doing this, am I violating any java coding
rules, standards, or conventions that would make eclipse and ve not work
right?
Re: Placing logger call [message #130439 is a reply to message #130378] Fri, 25 August 2006 14:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

What kind of call is this? Do you mean you are changing SwingUtilities
itself, or just putting this call before your own code that is calling
SwingUtilities?

Richard wrote:
> I have to place a permanent logger debug call before swingutilities
> invokelater paragraph. By doing this, am I violating any java coding
> rules, standards, or conventions that would make eclipse and ve not work
> right?
>

--
Thanks,
Rich Kulp
Re: Placing logger call [message #130452 is a reply to message #130439] Fri, 25 August 2006 20:02 Go to previous messageGo to next message
Eclipse UserFriend
the code is an apache logj4xml logger. if i insert my code before
invokelater paragraph, would it cause any problems with eclipse and ve? in
some other editors, they do not want you to modify their auto generated
code. that is why I asking.




public static void main(String[] args) {
// TODO Auto-generated method stub
logger.debug(""); <--- my code
SwingUtilities.invokeLater(new Runnable() {
public void run() {
RTMonitor application = new RTMonitor();
application.getJFrame().setVisible(true);
}
});
}
Re: Placing logger call [message #130464 is a reply to message #130452] Mon, 28 August 2006 09:35 Go to previous messageGo to next message
Eclipse UserFriend
Is it is safe to insert the logger before invokelater statement?
Re: Placing logger call [message #130474 is a reply to message #130464] Mon, 28 August 2006 10:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

You can insert code just about anywhere. Especially if it is not a
setter of a property. Most such code is ignored.

Richard wrote:
> Is it is safe to insert the logger before invokelater statement?
>

--
Thanks,
Rich Kulp
Re: Placing logger call [message #130484 is a reply to message #130474] Mon, 28 August 2006 10:28 Go to previous message
Eclipse UserFriend
thanks.
Re: Placing logger call [message #614580 is a reply to message #130378] Fri, 25 August 2006 14:48 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

What kind of call is this? Do you mean you are changing SwingUtilities
itself, or just putting this call before your own code that is calling
SwingUtilities?

Richard wrote:
> I have to place a permanent logger debug call before swingutilities
> invokelater paragraph. By doing this, am I violating any java coding
> rules, standards, or conventions that would make eclipse and ve not work
> right?
>

--
Thanks,
Rich Kulp
Re: Placing logger call [message #614581 is a reply to message #130439] Fri, 25 August 2006 20:02 Go to previous message
Eclipse UserFriend
the code is an apache logj4xml logger. if i insert my code before
invokelater paragraph, would it cause any problems with eclipse and ve? in
some other editors, they do not want you to modify their auto generated
code. that is why I asking.




public static void main(String[] args) {
// TODO Auto-generated method stub
logger.debug(""); <--- my code
SwingUtilities.invokeLater(new Runnable() {
public void run() {
RTMonitor application = new RTMonitor();
application.getJFrame().setVisible(true);
}
});
}
Re: Placing logger call [message #614582 is a reply to message #130452] Mon, 28 August 2006 09:35 Go to previous message
Eclipse UserFriend
Is it is safe to insert the logger before invokelater statement?
Re: Placing logger call [message #614583 is a reply to message #130464] Mon, 28 August 2006 10:20 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

You can insert code just about anywhere. Especially if it is not a
setter of a property. Most such code is ignored.

Richard wrote:
> Is it is safe to insert the logger before invokelater statement?
>

--
Thanks,
Rich Kulp
Re: Placing logger call [message #614584 is a reply to message #130474] Mon, 28 August 2006 10:28 Go to previous message
Eclipse UserFriend
thanks.
Previous Topic:Refreshing after correcting errors
Next Topic:VE Problem in Eclipse 3.2
Goto Forum:
  


Current Time: Sat Jun 21 17:30:25 EDT 2025

Powered by FUDForum. Page generated in 0.07940 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top