Re: [codenameone-discussions] Re: Unable to generate android build

2017-03-24 Thread Shai Almog
If your system settings make sure the bin directory of the new JDK (not JRE) is the first element of the path (before System32 etc.). -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving

[codenameone-discussions] Re: iOS Placeholder text for TextField in CN1?

2017-03-24 Thread lin . zy129
Great~ this is just what I have been looking around. Better if named "setPlaceholderText",,, Thanks. On Friday, July 26, 2013 at 9:07:03 PM UTC+2, Shai Almog wrote: > > Hi, > its called "Hint" in Codename One and you can use either setHint or the > property in the text field. > -- You received

[codenameone-discussions] Re: Long Press or Long Pointer Press Event

2017-03-24 Thread lin . zy129
Great, but some inconvenient. Anyway, here is complete code. class TemplateButton extends Button { public TemplateButton(String title){ super(title); } @Override public void pointerReleased(int x, int y) { super.pointerReleased(x, y); //To ch

Re: [codenameone-discussions] Label setText() cuts off as text gets longer

2017-03-24 Thread vasilenko . alex93
That worked, thank you! -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at http

Re: [codenameone-discussions] Label setText() cuts off as text gets longer

2017-03-24 Thread vasilenko . alex93
That worked. Thank you! On Friday, March 24, 2017 at 3:02:20 PM UTC-7, Steve Hannah wrote: > > Calling setText() will cause a repaint of the Label, but the bounds of the > label will be unchanged because they are set by the parent container's > layout manager. Call damageVal.getParent().revalid

[codenameone-discussions] Re: Login Buttons and Action Listeners, can you help me please?

2017-03-24 Thread TheHyng
omg ty so much! -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://grou

Re: [codenameone-discussions] Re: Unable to generate android build

2017-03-24 Thread Steve Hannah
What is on and around line 155 of your build.xml file? For some reason it is looking for a class named "javac1.8", which obviously doesn't exist. Probably that string was placed in the build.xml file (or properties file) somewhere that it doesn't belong. Steve On Fri, Mar 24, 2017 at 10:18 AM, C

Re: [codenameone-discussions] Label setText() cuts off as text gets longer

2017-03-24 Thread Steve Hannah
Calling setText() will cause a repaint of the Label, but the bounds of the label will be unchanged because they are set by the parent container's layout manager. Call damageVal.getParent().revalidate() to cause the parent to be re-laid out. (If the parent container also doesn't have "room" for th

[codenameone-discussions] Re: Login Buttons and Action Listeners, can you help me please?

2017-03-24 Thread howudodat1
look at TextField#getText / setText ie: user1 = username.getText() On Friday, March 24, 2017 at 4:56:50 AM UTC-7, TheHyng wrote: > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA > Desktop OS > Simulator > Device > > Hell

[codenameone-discussions] Re: Unable to generate android build

2017-03-24 Thread CODENAME1
I didn't do anything codechange. All I did was to upgrade java 1.7.0_45 to java 1.8.0_ 121 Before upgrading java I was able to take the build after upgrading I get errors . On Friday, March 24, 2017 at 4:19:39 PM UTC+1, TheHyng wrote: > When was it the last time you could do it? Maybe so

[codenameone-discussions] Label setText() cuts off as text gets longer

2017-03-24 Thread vasilenko . alex93
I am working on a school project, in it we are making a game. My issue is with Labels inside an Observer in a Observer/Observable pair. The Observer, called ScoreView, builds the Labels in its Constructor. And a function called update modifies the values whenever they change inside the Observab

[codenameone-discussions] Re: Unable to generate android build

2017-03-24 Thread TheHyng
When was it the last time you could do it? Maybe some code is not enabling it to run sexta-feira, 24 de Março de 2017 às 14:20:08 UTC, CODENAME1 escreveu: > > [echo] Compile is forcing compliance to the supported API's/features > for maximum device compatibility. This allows smaller >

[codenameone-discussions] Unable to generate android build

2017-03-24 Thread CODENAME1
[echo] Compile is forcing compliance to the supported API's/features for maximum device compatibility. This allows smaller [echo]code size and wider device support [copy] Copying 6 files to C:\Users\XX\workspace\MobileClientApp\build\tmp [javac] C:\Users\XX\workspace\Mo

[codenameone-discussions] Login Buttons and Action Listeners, can you help me please?

2017-03-24 Thread TheHyng
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Desktop OS Simulator Device Hello, I've created a button called "login" and added an actionlistener for when its clicked, but above that I have 2 textfields, the password and the