[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-03-12 Thread Shai Almog
We're working on it but as suspected it's harder than just switching the 
JDK implementation. 
We added new build hints:

win.desktop-vm=zuluFx8
mac.desktop-vm=zuluFx8

The Windows version seems to work. I haven't testing it other than checking 
that it compiled. 
The mac version doesn't seem to work, the problem relates to the horrible 
support for multiple JDKs on Mac OS. This is something we'll need to dig 
into and it might make more sense to target version 11 instead of 8.

-- 
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://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/37efac0f-6f33-4758-85fb-0744fd797bad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Strip html from string

2019-03-12 Thread diamondobama
Container contCenter = new Container(BorderLayout.absolute());
splash.add(BorderLayout.CENTER, contCenter);

int time = 3000; // 3 seconds
InfiniteProgress ip = new InfiniteProgress();
ip.setAnimation(logo);
ip.setAngleIncrease(Math.round(time / (360 * 2))); // 2 
rotations
ip.setX(logo.getWidth() * -1);
contCenter.add(ip);
contCenter.animateLayoutAndWait(time);
contCenter.replace(ip, labelWithSameLogo, null);

// Continue other animations



-- 
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://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ca3c3245-299a-4e48-9441-40d41c454293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Strip html from string

2019-03-12 Thread Steve Hannah
Use the RE class for regular expressions.
https://www.codenameone.com/javadoc/com/codename1/util/regex/RE.html#subst-java.lang.String-java.lang.String-

On Tue, Mar 12, 2019 at 7:30 AM  wrote:

> If you are experiencing an issue please mention the full platform your
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
> Desktop OS Windows 10 Pro
> Simulator Latest
> Device PC, Android, IOS
>
> I am using StringUtil.replaceAll(html, "\\<.*?>", ""); to strip out html
> However it is not working.
>
> Looking at the source for StringUtil.replaceAll substitutes literals,
> does not seem to support regular expression.
>
> Thoughts?
>
> Regards
>
> --
> 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://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/c62d76bc-74d2-4833-a225-e38bc9a99b23%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
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://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKXJ%2BYpn_NA8D%3DPgp56RZyTSo8DwSEN1mMDQ77YBB-6g4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Strip html from string

2019-03-12 Thread shop . service . assistant
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, Android, IOS

I am using StringUtil.replaceAll(html, "\\<.*?>", ""); to strip out html
However it is not working.

Looking at the source for StringUtil.replaceAll substitutes literals, does 
not seem to support regular expression.

Thoughts?

Regards

-- 
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://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c62d76bc-74d2-4833-a225-e38bc9a99b23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-03-12 Thread remonkroep
Any updates on this?

-- 
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://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/3ae0513b-0e3b-4df2-8392-fde42e07b45e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.