NetBeans output window does not show application j2me output Reply with quote Edit/Delete this post

View: New views
2 Messages — Rating Filter:   Alert me  

NetBeans output window does not show application j2me output Reply with quote Edit/Delete this post

by nikAlb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,



When I run a J2me application with NetBeans output window show what looks like very low level debug. My System.out.print is not showing at all.



see below



Leaving com/sun/midp/midlet/Scheduler::getScheduler

Invoking method 'com/sun/midp/midlet/Scheduler::isDispatchThread()Z'

Invoking method 'java/lang/Thread::currentThread()Ljava/lang/Thread;'

Leaving java/lang/Thread::currentThread

Leaving com/sun/midp/midlet/Scheduler::isDispatchThread

Invoking method 'javax/microedition/lcdui/Display::access$1400()Lcom/sun/midp/lcdui/EventHandler;'

Leaving javax/microedition/lcdui/Display::access$1400

Invoking method 'com/sun/midp/lcdui/DefaultEventHandler::serviceRepaints()V'

Invoking method 'com/sun/midp/lcdui/DefaultEventHandler$EventQueue::serviceRepaints()V'

Leaving com/sun/midp/lcdui/DefaultEventHandler$EventQueue::serviceRepaints

Leaving com/sun/midp/lcdui/DefaultEventHandler::serviceRepaints

Invoking method 'javax/microedition/lcdui/Display::access$600(Ljavax/microedition/lcdui/Display;)Ljavax/microedition/lcdui/Displayable;'

Leaving javax/microedition/lcdui/Display::access$600

Invoking method 'javax/microedition/lcdui/Display::access$700(Ljavax/microedition/lcdui/Display;Ljavax/microedition/lcdui/Displayable;Z)V'

Invoking method 'javax/microedition/lcdui/Display::registerNewCurrent(Ljavax/microedition/lcdui/Displayable;Z)V'

Invoking method 'javax/microedition/lcdui/Graphics::reset(IIII)V'

Invoking method 'javax/microedition/lcdui/Font::getDefaultFont()Ljavax/microedition/lcdui/Font;'

Leaving javax/microedition/lcdui/Font::getDefaultFont

Invoking method 'javax/microedition/lcdui/Graphics::getPixel(IIZ)I'

Leaving javax/microedition/lcdui/Graphics::getPixel

Invoking method 'javax/microedition/lcdui/Graphics::setClip(IIII)V'

Leaving javax/microedition/lcdui/Graphics::setClip

Leaving javax/microedition/lcdui/Graphics::reset

Invoking method 'javax/microedition/lcdui/Graphics::setColor(I)V'

Invoking method 'javax/microedition/lcdui/Graphics::grayVal(III)I'

Leaving javax/microedition/lcdui/Graphics::grayVal

Invoking method 'javax/microedition/lcdui/Graphics::getPixel(IIZ)I'

Leaving javax/microedition/lcdui/Graphics::getPixel

Leaving javax/microedition/lcdui/Graphics::setColor

Invoking method 'javax/microedition/lcdui/Graphics::fillRect(IIII)V'

Leaving javax/microedition/lcdui/Graphics::fillRect

Invoking method 'javax/microedition/lcdui/Display::refresh(IIII)V'

Leaving javax/microedition/lcdui/Display::refresh

Invoking method 'com/sun/midp/lcdui/EmulEventHandler::updateCommandSet([Ljavax/microedition/lcdui/Command;I[Ljavax/microedition/lcdui/Command;I)V'

Invoking method 'com/sun/midp/lcdui/EmulEventHandler::updateCommandSet([Ljavax/microedition/lcdui/Command;I[Ljavax/microedition/lcdui/Command;ILjavax/microedition/lcdui/Displayable;Ljavax/microedition/lcdui/Item;)V'

Invoking method 'com/sun/midp/lcdui/EmulEventHandler::closeCommandSet()V'

Leaving com/sun/midp/lcdui/EmulEventHandler::closeCommandSet

Invoking method 'com/sun/midp/lcdui/EmulEventHandler::updateWidget(Ljavax/microedition/lcdui/Displayable;Ljavax/microedition/lcdui/Item;)V'

Invoking method 'com/sun/midp/lcdui/EmulEventHandler::setCurrentWidget(Ljava/lang/String;Ljava/lang/String;)V'

Leaving com/sun/midp/lcdui/EmulEventHandler::setCurrentWidget

Leaving com/sun/midp/lcdui/EmulEventHandler::updateWidget





Can you advice how can I see the mobile application output please on the netbean Output ? applicaton take long time to run as result of this output. see attached doc for  more info.



Kind Regards

Nik





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: NetBeans output window does not show application j2me output Reply with quote Edit/Delete this post

by Petr Suchomel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, this depends how emulator handles your System.out rather than
depend on NetBeans. You can always increase Ant verbosity level in Tools
-> Options
--Petr

nikolmarku wrote:

> Hi,
>
>
>
> When I run a J2me application with NetBeans output window show what looks like very low level debug. My System.out.print is not showing at all.
>
>
>
> see below
>
>
>
> Leaving com/sun/midp/midlet/Scheduler::getScheduler
>
> Invoking method 'com/sun/midp/midlet/Scheduler::isDispatchThread()Z'
>
> Invoking method 'java/lang/Thread::currentThread()Ljava/lang/Thread;'
>
> Leaving java/lang/Thread::currentThread
>
> Leaving com/sun/midp/midlet/Scheduler::isDispatchThread
>
> Invoking method 'javax/microedition/lcdui/Display::access$1400()Lcom/sun/midp/lcdui/EventHandler;'
>
> Leaving javax/microedition/lcdui/Display::access$1400
>
> Invoking method 'com/sun/midp/lcdui/DefaultEventHandler::serviceRepaints()V'
>
> Invoking method 'com/sun/midp/lcdui/DefaultEventHandler$EventQueue::serviceRepaints()V'
>
> Leaving com/sun/midp/lcdui/DefaultEventHandler$EventQueue::serviceRepaints
>
> Leaving com/sun/midp/lcdui/DefaultEventHandler::serviceRepaints
>
> Invoking method 'javax/microedition/lcdui/Display::access$600(Ljavax/microedition/lcdui/Display;)Ljavax/microedition/lcdui/Displayable;'
>
> Leaving javax/microedition/lcdui/Display::access$600
>
> Invoking method 'javax/microedition/lcdui/Display::access$700(Ljavax/microedition/lcdui/Display;Ljavax/microedition/lcdui/Displayable;Z)V'
>
> Invoking method 'javax/microedition/lcdui/Display::registerNewCurrent(Ljavax/microedition/lcdui/Displayable;Z)V'
>
> Invoking method 'javax/microedition/lcdui/Graphics::reset(IIII)V'
>
> Invoking method 'javax/microedition/lcdui/Font::getDefaultFont()Ljavax/microedition/lcdui/Font;'
>
> Leaving javax/microedition/lcdui/Font::getDefaultFont
>
> Invoking method 'javax/microedition/lcdui/Graphics::getPixel(IIZ)I'
>
> Leaving javax/microedition/lcdui/Graphics::getPixel
>
> Invoking method 'javax/microedition/lcdui/Graphics::setClip(IIII)V'
>
> Leaving javax/microedition/lcdui/Graphics::setClip
>
> Leaving javax/microedition/lcdui/Graphics::reset
>
> Invoking method 'javax/microedition/lcdui/Graphics::setColor(I)V'
>
> Invoking method 'javax/microedition/lcdui/Graphics::grayVal(III)I'
>
> Leaving javax/microedition/lcdui/Graphics::grayVal
>
> Invoking method 'javax/microedition/lcdui/Graphics::getPixel(IIZ)I'
>
> Leaving javax/microedition/lcdui/Graphics::getPixel
>
> Leaving javax/microedition/lcdui/Graphics::setColor
>
> Invoking method 'javax/microedition/lcdui/Graphics::fillRect(IIII)V'
>
> Leaving javax/microedition/lcdui/Graphics::fillRect
>
> Invoking method 'javax/microedition/lcdui/Display::refresh(IIII)V'
>
> Leaving javax/microedition/lcdui/Display::refresh
>
> Invoking method 'com/sun/midp/lcdui/EmulEventHandler::updateCommandSet([Ljavax/microedition/lcdui/Command;I[Ljavax/microedition/lcdui/Command;I)V'
>
> Invoking method 'com/sun/midp/lcdui/EmulEventHandler::updateCommandSet([Ljavax/microedition/lcdui/Command;I[Ljavax/microedition/lcdui/Command;ILjavax/microedition/lcdui/Displayable;Ljavax/microedition/lcdui/Item;)V'
>
> Invoking method 'com/sun/midp/lcdui/EmulEventHandler::closeCommandSet()V'
>
> Leaving com/sun/midp/lcdui/EmulEventHandler::closeCommandSet
>
> Invoking method 'com/sun/midp/lcdui/EmulEventHandler::updateWidget(Ljavax/microedition/lcdui/Displayable;Ljavax/microedition/lcdui/Item;)V'
>
> Invoking method 'com/sun/midp/lcdui/EmulEventHandler::setCurrentWidget(Ljava/lang/String;Ljava/lang/String;)V'
>
> Leaving com/sun/midp/lcdui/EmulEventHandler::setCurrentWidget
>
> Leaving com/sun/midp/lcdui/EmulEventHandler::updateWidget
>
>
>
>
>
> Can you advice how can I see the mobile application output please on the netbean Output ? applicaton take long time to run as result of this output. see attached doc for  more info.
>
>
>
> Kind Regards
>
> Nik
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  

--
Petr Suchomel <petr.suchomel@...>
Software Engineer, NetBeans Mobility
Java & Developer Platform Group
Sun Microsystems, Inc.
Phone +420 2 33009234 (x49234), Fax   +420 2 33009311


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

LightInTheBox - Buy quality products at wholesale price!