NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Visual MIDlet and GameCanvas

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
vaxim



Joined: 08 Jul 2009
Posts: 2

PostPosted: Wed Jul 08, 2009 6:52 am    Post subject: Visual MIDlet and GameCanvas Reply with quote

Hi

I'm using NetBeans 6.7 to develop a mobile game. I was wondering if it is possible to put a GameCanvas screen in a visual mobile development flow. Right now, I can only drag a form (not a canvas) to the flow design.

Thank you.
Back to top
Karol Harezlak
Posted via mailing list.





PostPosted: Wed Jul 08, 2009 8:23 am    Post subject: Visual MIDlet and GameCanvas Reply with quote

Yes, you can add Canvas based classes to the Visual Mobile Designer
palette. Then use it as normal VMD component. It's also possible to
create fully customized VMD component with VMD Custom Component
Support which is included starting from version 6.5.

Karol

On Jul 8, 2009, at 8:53, vaxim <address-removed> wrote:

Quote:
Hi



I'm using NetBeans 6.7 to develop a mobile game. I was wondering if
it is possible to put a GameCanvas screen in a visual mobile
development flow. Right now, I can only drag a form (not a canvas)
to the flow design.



Thank you.









Back to top
vaxim



Joined: 08 Jul 2009
Posts: 2

PostPosted: Thu Jul 09, 2009 8:25 am    Post subject: Reply with quote

Thank you Karol. I add my MIDPCanvas to the palette by right clicking at it.
Back to top
christiand566



Joined: 24 Jul 2009
Posts: 2

PostPosted: Sat Jul 25, 2009 8:50 pm    Post subject: VisualMidlet and GAmeDesing Reply with quote

i need put my gamedesing.java in the flow. how to doit how to enjoy this?

please i need heeeelp!


sorry my english!
Back to top
Karol Harezlak
Posted via mailing list.





PostPosted: Mon Jul 27, 2009 9:18 am    Post subject: Visual MIDlet and GameCanvas Reply with quote

Hi,
You can add Canvas based classes to the Visual Mobile Designer palette.
Then use it as normal VMD component (D&D from palette). It's also
possible to create fully customized VMD component with VMD Custom
Component Support wizard ( starting from version 6.5)

Karol
christiand566 wrote:
Quote:
i need put my gamedesing.java in the flow. how to doit how to enjoy this?



please i need heeeelp!





sorry my english!












--
Karol Harezlak <address-removed>
Sun Microsystems, Inc. NetBeans Mobility
Back to top
Karol Harezlak
Posted via mailing list.





PostPosted: Tue Aug 04, 2009 7:16 am    Post subject: Visual MIDlet and GameCanvas Reply with quote

Hi,
If you'd like to link your game (GameDesign) with Visual Mobile Designer
you can do it through Visual Mobiel Designer palette (Palette Manager).
Palette accepts only classes which extends Canvas so some at some point
you have to extend some of you class with Canvas to link it with Visual
Mobile Designer.
Another possibility is to create fully customized VMD component but it's
more complicated and in your case first solution is better.

K.


address-removed wrote:
Quote:
I am not sure if I am just to dumb but I can not figure out how to link a

visual design into a visual midlet. I mean there is for sure some "drag and

drop" way, isn't there. Or do I have to code that by hand?





Kristine

fast slim (http://www.my-fat-loss-experience.com/tips/slim-fast-why-you-need-to-acquire-a-slim-and-healthy-body)

------------------------
fast slim (http://www.my-fat-loss-experience.com/tips/slim-fast-why-you-need-to-acquire-a-slim-and-healthy-body)












--
Karol Harezlak <address-removed>
Sun Microsystems, Inc. NetBeans Mobility
Back to top
Brad Schmidt
Posted via mailing list.





PostPosted: Tue Aug 04, 2009 10:50 am    Post subject: Visual MIDlet and GameCanvas Reply with quote

You can also follow a hands on lab from JavaOne2009. The entire lab with
steps to create a game and connect it to a web service is available as a
pdf.

Mobile Game LAB-5502
http://developers.sun.com/learning/javaoneonline/j1lab.jsp?lab=LAB-5502&yr=2009&track=1

This lab will be available as a multi-part NetBeans tutorial soon.

Cheers,
Brad

address-removed wrote:
Quote:
I am not sure if I am just to dumb but I can not figure out how to link a

visual design into a visual midlet. I mean there is for sure some "drag and

drop" way, isn't there. Or do I have to code that by hand?





Kristine

fast slim (http://www.my-fat-loss-experience.com/tips/slim-fast-why-you-need-to-acquire-a-slim-and-healthy-body)

------------------------
fast slim (http://www.my-fat-loss-experience.com/tips/slim-fast-why-you-need-to-acquire-a-slim-and-healthy-body)











Back to top
Mihir



Joined: 24 Nov 2010
Posts: 2

PostPosted: Sun Nov 06, 2011 3:32 pm    Post subject: Reply with quote

Hey its really good idea.
I have worked lot with NetBeans but never tried this.

Its really good thing i learn

Thanks. Smile
Back to top
dashuaige25



Joined: 18 Nov 2011
Posts: 3

PostPosted: Fri Nov 18, 2011 8:07 am    Post subject: Reply with quote

You can add Canvas based classes to the Visual Mobile Designer palette.
Then use it as normal VMD component (D&D from palette). ..........



____________________________
Diablo 3 Items|Diablo 3 Gold|Diablo 3 Accounts
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo