Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Talk:Extending LWUIT components on Series 40

From Wiki
Jump to: navigation, search

Hamishwillee - Subedited - really like this one

Hi Shaii

I really like this one, both the idea and the article implementation. I've subedited it a bit for readability - please check you're happy with the changes.

In terms of "improvement" it would be really good to provide a code snippet showing how you extend the label class. I know it is "obvious" but showing it makes it clear there are no "tricks".

public class VerticalLabel extends Label {

Similarly, it is useful for readers to know what import libraries they need to import to extend LWUIT - identifying those that are needed all the time, and those that are needed in just this case. I suspect there are none that are "standard", but its still worth saying that.




hamishwillee 09:42, 30 August 2012 (EEST)

Shaii - code

Hey Hamish,

The entire class code is attached as a source, didn't you previously said that its better not to include entire code in the article but rather as a source and only key points in article?

I have no problem integrating the changes you want if thats the case let me know and i'll do it.



shaii 10:18, 30 August 2012 (EEST)

Hamishwillee - Yes I did

Hi Shai

include entire code in the article but rather as a source and only key points in article?

Yes I did, but IMO the classes you extend and the import libraries you need to use may be key points. So in this case if the import libraries are just "the libraries containing definition of Label", then that's what you'd say - you wouldn't need to list them. However if there are import libraries that everone implementing an LWUIT component needs, then these are key points that need to be listed.

I thought about this article a bit last night. Based on the title "Extending LWUIT components on Series 40" I would expect this would have enough information for me to extend any component, and it does. I might also reasonably expect it to cover creating new LWUIT "from scratch" (ie title might mean "Extending the LWUIT component set"). In any case, for bonus points, a small section on the minimum needed to extend Component directly would be great - ie what you'd have to import and what main classes and methods you'd have to overload. That is optional, and perhaps another article.



hamishwillee 03:34, 31 August 2012 (EEST)


Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.