Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 237
Registered: ‎05-07-2010
My Device: 8520
My Carrier: Internet

Is it possible to use swing/awt component with blackberry/

hi

 

i just want to know that if i can use awt/swing component with blackberry.i am using eclipse 3.5.

 

i need this because i want to read pdf file in blackberry.

there is Jpedal library for this,but it uses swing components.

 

Finally:i want to display pdf file in blackberry programatically.

 

Pls help me if anyone know it.

___________________________________________________
please press kudos(star button on left) if this post is helpful to you
"Accept as solution" if your query has been resolved.@hitendra
_________________________________________________
Developer
Posts: 1,305
Registered: ‎01-21-2009
My Device: Not Specified

Re: Is it possible to use swing/awt component with blackberry/

[ Edited ]

You can't use AWT or Swing components on the BlackBerry. Are you trying to use the Java ME version of JPedal? I think there are BlackBerry UI equivalents for most of the AGUI (JSR-209) elements that it uses.




Solved? click "Accept as solution". Helpful? give kudos by clicking on the star.
Developer
Posts: 950
Registered: ‎06-22-2010
My Device: 9550

Re: Is it possible to use swing/awt component with blackberry/

yup....Ted is absolutely Right. U can't use the Container of java. ------------------------------------------------------------------------------------ Press Kudo to say thank to developer. Also Press the Accept as solution Button when u got the Solution
Developer
Posts: 237
Registered: ‎05-07-2010
My Device: 8520
My Carrier: Internet

Re: Is it possible to use swing/awt component with blackberry/

thankx tedd

 

yes i am using javaMe version of jpedal.

 

so you mean i have to use blackberry ui instead of swing component.

___________________________________________________
please press kudos(star button on left) if this post is helpful to you
"Accept as solution" if your query has been resolved.@hitendra
_________________________________________________
Developer
Posts: 1,305
Registered: ‎01-21-2009
My Device: Not Specified

Re: Is it possible to use swing/awt component with blackberry/

Yes. I'm not familiar with which AWT/Swing components are used by JPedal, so I can't comment on how hard it would be to port it. Almost all AWT components have a BB counterpart, as do a good many Swing components.




Solved? click "Accept as solution". Helpful? give kudos by clicking on the star.
Developer
Posts: 103
Registered: ‎12-12-2011
My Device: Developer
My Carrier: Robosoft

Re: Is it possible to use swing/awt component with blackberry/

Hello @trainee, even am trying to use jpedal for rendering pdf files, but stuck because of usage of awt components in the source. Please let me know if you get any solution, as finding BB equivalents for all awt components and checking their compatibility would take more effort. Thanks in advance.