Re: [codenameone-discussions] Custom TABS with SpanButton button display width broken

2019-09-04 Thread shop . service . assistant
Thanks, this looks correct.

On Thursday, August 29, 2019 at 12:15:54 PM UTC-4, Steve Hannah wrote:
>
> I have just made some changes to SpanLabel to fix a regression but don't 
> know if it is related to this issue.  I haves added your provided test case 
> as a Sample, named TabsWityhSpanLabelsTest.  You can run the sample against 
> the latest sources in the Samples Runner.  This is what I see when I run 
> the sample.  Is this correct, or is there something wrong with this layout?
>
> [image: image.png]
>
> On Tue, Aug 27, 2019 at 6:57 AM > 
> wrote:
>
>> If you are experiencing an issue please mention the full platform your 
>> issue applies to:
>> IDE: NetBeans/Eclipse/IDEA Netbeans 11
>> Desktop OS Windows 10 Pro
>> Simulator Latest
>> Device PC, IOS
>>
>> Recent build (last 10 days approx) has produced an unusual horizontal 
>> with TABS component display.
>> See attached pic.
>>
>> Purpose of this overriding TABS class is to provide multi line text 
>> support
>>
>> It appears that the SpanButton class is the problem as I see similar 
>> behavior placing this component in a table container. 
>>
>> Here is a simple re-producible case
>>
>> Form hi = new Form("Custom Tabs", new BorderLayout());
>> Tabs tb = new Tabs(Component.TOP) {
>> @Override
>> protected Component createTab(String title, Image icon) {
>> SpanButton custom = new SpanButton(title);
>> custom.setName("SpanButton");
>> custom.setIcon(icon);
>> custom.setUIID("Container");
>> custom.setTextUIID("mpiTabMetalUnSelected");
>> custom.setIconPosition(BorderLayout.NORTH);
>> return custom;
>> }
>>
>> @Override
>> public String getTabTitle(Component tab) {
>> return ((SpanButton) tab).getText();
>> }
>>
>> @Override
>> public String getTabTitle(int index) {
>> String TabTitle = "";
>> try {
>> for (int a = 0; a < getComponentCount(); a++) {
>> Container cnt = (Container) getComponentAt(a);
>> for (int b = 0; b < cnt.getComponentCount(); 
>> b++) {
>> if (cnt.getComponentAt(b).getName() != 
>> null && cnt.getComponentAt(b).getName().compareToIgnoreCase("SpanButton") 
>> == 0 && index == b) {
>> return 
>> getTabTitle(cnt.getComponentAt(b));
>> }
>> }
>> }
>> } catch (Exception g) {
>> g.printStackTrace();
>> }
>> return TabTitle;
>> }
>>
>> @Override
>> public void setTabTitle(String title, Image icon, int 
>> index) {
>> try {
>> for (int a = 0; a < getComponentCount(); a++) {
>> Container cnt = (Container) getComponentAt(a);
>> for (int b = 0; b < cnt.getComponentCount(); 
>> b++) {
>> if (cnt.getComponentAt(b).getName() != 
>> null && cnt.getComponentAt(b).getName().compareToIgnoreCase("SpanButton") 
>> == 0 && index == b) {
>> SpanButton custom = (SpanButton) 
>> cnt.getComponentAt(b);
>> custom.setText(title);
>> return;
>> }
>> }
>> }
>> } catch (Exception g) {
>> g.printStackTrace();
>> }
>> }
>>
>> @Override
>> protected void setTabSelectedIcon(Component tab, Image 
>> icon) {
>> ((SpanButton) tab).setPressedIcon(icon);
>> }
>>
>> protected void selectTab(Component tab) {
>> for (int a = 0; a < this.getComponentCount(); a++) {
>> Container cmp1 = (Container) 
>> this.getComponentAt(a);
>> int selIndex = this.getSelectedIndex();
>> for (int b = 0; b < cmp1.getComponentCount(); 
>> b++) {
>> if (cmp1.getComponentAt(b).getName() != null 
>> && cmp1.getComponentAt(b).getName().startsWith("SpanButton") == true) {
>> if (selIndex == b) {
>> ((SpanButton) 
>> tab).setTextUIID("mpiTabMetalSelected");
>> } else {
>> ((SpanButton) 
>> cmp1.getComponentAt(b)).setTextUIID("mpiTabMetalUnSelected");
>>  

[codenameone-discussions] Custom TABS with SpanButton button display width broken

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

Recent build (last 10 days approx) has produced an unusual horizontal with 
TABS component display.
See attached pic.

Purpose of this overriding TABS class is to provide multi line text support

It appears that the SpanButton class is the problem as I see similar 
behavior placing this component in a table container. 

Here is a simple re-producible case

Form hi = new Form("Custom Tabs", new BorderLayout());
Tabs tb = new Tabs(Component.TOP) {
@Override
protected Component createTab(String title, Image icon) {
SpanButton custom = new SpanButton(title);
custom.setName("SpanButton");
custom.setIcon(icon);
custom.setUIID("Container");
custom.setTextUIID("mpiTabMetalUnSelected");
custom.setIconPosition(BorderLayout.NORTH);
return custom;
}

@Override
public String getTabTitle(Component tab) {
return ((SpanButton) tab).getText();
}

@Override
public String getTabTitle(int index) {
String TabTitle = "";
try {
for (int a = 0; a < getComponentCount(); a++) {
Container cnt = (Container) getComponentAt(a);
for (int b = 0; b < cnt.getComponentCount(); 
b++) {
if (cnt.getComponentAt(b).getName() != null 
&& cnt.getComponentAt(b).getName().compareToIgnoreCase("SpanButton") == 0 
&& index == b) {
return 
getTabTitle(cnt.getComponentAt(b));
}
}
}
} catch (Exception g) {
g.printStackTrace();
}
return TabTitle;
}

@Override
public void setTabTitle(String title, Image icon, int 
index) {
try {
for (int a = 0; a < getComponentCount(); a++) {
Container cnt = (Container) getComponentAt(a);
for (int b = 0; b < cnt.getComponentCount(); 
b++) {
if (cnt.getComponentAt(b).getName() != null 
&& cnt.getComponentAt(b).getName().compareToIgnoreCase("SpanButton") == 0 
&& index == b) {
SpanButton custom = (SpanButton) 
cnt.getComponentAt(b);
custom.setText(title);
return;
}
}
}
} catch (Exception g) {
g.printStackTrace();
}
}

@Override
protected void setTabSelectedIcon(Component tab, Image 
icon) {
((SpanButton) tab).setPressedIcon(icon);
}

protected void selectTab(Component tab) {
for (int a = 0; a < this.getComponentCount(); a++) {
Container cmp1 = (Container) this.getComponentAt(a);
int selIndex = this.getSelectedIndex();
for (int b = 0; b < cmp1.getComponentCount(); b++) {
if (cmp1.getComponentAt(b).getName() != null && 
cmp1.getComponentAt(b).getName().startsWith("SpanButton") == true) {
if (selIndex == b) {
((SpanButton) 
tab).setTextUIID("mpiTabMetalSelected");
} else {
((SpanButton) 
cmp1.getComponentAt(b)).setTextUIID("mpiTabMetalUnSelected");
}
}
}
}
}

@Override
protected void bindTabActionListener(Component tab, 
ActionListener l) {
((SpanButton) tab).addActionListener(l);
}
};
tb.addSelectionListener(new SelectionListener() {
@Override
public void selectionChanged(int oldSelected, int 
newSelected) {
}
});

tb.setTabUIID(null);
Button btn = new Button("Any Button Action");
tb.addTab("Tab 1", btn);
tb.addTab("Really long\ntext in tab", new Label("T2"));
tb.addTab("Tab 3", new Label("T3"));
tb.addTab("Tab 4", new Label("T4"));
hi.add(BorderLayout.CENTER, 

[codenameone-discussions] Re: Installation QR code Missing from distribution page

2019-07-21 Thread shop . service . assistant
Thanks, 

However as a result of the error, the UI does not display any rows of data.

No rush, we can use the deprecated method for now.

Regards.

On Thursday, July 18, 2019 at 11:58:02 PM UTC-4, Shai Almog wrote:

> You can press cancel. We plan to push an update that would resolve that 
> but are waiting to finish some features to do that.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c9ae4797-d19d-4306-a629-9340ca9632dd%40googlegroups.com.


[codenameone-discussions] Re: Installation QR code Missing from distribution page

2019-07-18 Thread shop . service . assistant
Getting error when logging in to (
https://cloud.codenameone.com/buildapp/index.html) (Using Internet Explorer 
11, Firefox 68.0 (64-bit) & MS Edge)
See attached screen shot)

Regards

On Wednesday, July 17, 2019 at 11:20:30 PM UTC-4, Shai Almog wrote:

> That UI is deprecated. You should use the new app/web app linked at the 
> top which is better.
>
> The QR code was generated by Google who abruptly killed support for that a 
> few months ago. So we switched providers but it's not as reliable. Right 
> now it's working.
>

-- 
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/419e97fb-15a0-4fb3-a8e4-8f02f8f52167%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Installation QR code Missing from distribution page

2019-07-17 Thread shop . service . assistant
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Apache Netbeans IDE 11
Desktop OS Windows 10 Pro
Simulator latest
Device codednameone

The Installation QR code is missing from 
(https://www.codenameone.com/build-server.html)

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/215c3403-887a-41c6-90c4-4f9bdb0c9398%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Convery byte array to Image and back issue

2019-07-07 Thread shop . service . assistant
Good point.

I am using ImageViewer to Display pics. ImageViewer only accepts Image 
objects.

Converting Image to bytes and back are not reliable.

However EncodedImage in place of Image does work.
EncodedImage.createFromImage(viewer.getImage(),false)

Thanks.

Regards




On Saturday, July 6, 2019 at 11:22:28 PM UTC-4, Shai Almog wrote:
>
> That's a method of EncodedImage, check how you create/load the image.
>

-- 
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/46efe866-c81d-4087-96ab-d0ea77c02a64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Convery byte array to Image and back issue

2019-07-06 Thread shop . service . assistant
I am using getImageData(), I don't see a getData() method.

Your thoughts on the best approach to read in bytes into an Image that I 
can display
Then when the user bails from this module we convert back to bytes and 
compare against original bytes (If different then we savechanged data)

Thoughts?

Regards

On Saturday, July 6, 2019 at 1:07:49 AM UTC-4, Shai Almog wrote:
>
> You are re-encoding the image. Different image encoders will produce 
> different results, since we use the native facility for image encoding 
> you'll get different results on iOS, Android, simulator etc.
> If the image is an EncodedImage just use getData() to get the encoded 
> bytes.
>

-- 
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/e07d7202-bfa1-46a2-9f30-76a9adbc507b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Do you support Java versions north of 1.8

2019-07-06 Thread shop . service . assistant
Excellent!

On Saturday, July 6, 2019 at 1:08:08 AM UTC-4, Shai Almog wrote:
>
> We support Java 11.
>

-- 
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/7c3d7dd3-456e-4b1d-90d3-8c8a361dc568%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Do you support Java versions north of 1.8

2019-07-05 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 PS, Android, IOS

Will you be supporting Java versions north of 1.8 

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/c3a9cbf3-ec10-4a3a-809f-d2b5d4f5b9bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Convery byte array to Image and back issue

2019-07-05 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 strugling to convert Image to bytes and back in my Mobile app.

General question is the approach to convert bytes to com.codename1.ui.Image 
and back

Currently I use:
custPhotoBytes.length = 26489
Image CustomerPicture = Image.createImage(custPhotoBytes, 0, 
custPhotoBytes.length);
inc.getBytesFromImage(CustomerPicture).length = 26471
byte[] imgBytes = 
inc.getBytesFromImage(A3CustomerPhotoImageViewer.getImage());
imgBytes .length = 26471

conversion dif of 18 bytes. Why?

public byte[] getBytesFromImage(com.codename1.ui.Image image) {
EncodedImage img = null;
try {
img = createFromImage(image, true);
} catch (Exception e) {
}
return img != null ? img.getImageData() : new byte[0];
}

Is there a better approach?

Thanks in advance.

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/8fa295a3-ec58-42e2-b2a7-3135ff87098e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: best approach to determining if an com.codename1.ui.Image has changed

2019-07-05 Thread shop . service . assistant
BTW: In my example the original byte count was 26489, then after 
instanciating an Image and then getBytes from new Image byte count changed 
to 26465
I'm not executing any scaling, so not sure why the diff after conversion.

On Friday, July 5, 2019 at 12:46:13 PM UTC-4, shop.servi...@gmail.com 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
>
> My app shares Image data from a Database where Mobile Apps write to and 
> Java Swing apps write to.
>
> I am strugling to convert Image to bytes and back identically in Swing and 
> Mobile app.
>
> The App stores the Image in a "ImageViewer" component where the Swing app 
> in a Icon Label;
>
> General question is the approach to convert com.codename1.ui.Image to 
> bytes and bytes to com.codename1.ui.Image
>
> Currently I use:
> Image CustomerPicture = Image.createImage(custPhotoBytes, 0, 
> custPhotoBytes.length);
> byte[] imgBytes = 
> inc.getBytesFromImage(A3CustomerPhotoImageViewer.getImage());
>
> public byte[] getBytesFromImage(com.codename1.ui.Image image) {
> EncodedImage img = null;
> try {
> img = createFromImage(image, true);
> } catch (Exception e) {
> }
> return img != null ? img.getImageData() : new byte[0];
> }
>
> Is there a better approach?
>
> Thanks in advance.
>
> 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/4653db6d-0c17-42fa-b22d-472629a92aaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] best approach to determining if an com.codename1.ui.Image has changed

2019-07-05 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

My app shares Image data from a Database where Mobile Apps write to and 
Java Swing apps write to.

I am strugling to convert Image to bytes and back identically in Swing and 
Mobile app.

The App stores the Image in a "ImageViewer" component where the Swing app 
in a Icon Label;

General question is the approach to convert com.codename1.ui.Image to bytes 
and bytes to com.codename1.ui.Image

Currently I use:
Image CustomerPicture = Image.createImage(custPhotoBytes, 0, 
custPhotoBytes.length);
byte[] imgBytes = 
inc.getBytesFromImage(A3CustomerPhotoImageViewer.getImage());

public byte[] getBytesFromImage(com.codename1.ui.Image image) {
EncodedImage img = null;
try {
img = createFromImage(image, true);
} catch (Exception e) {
}
return img != null ? img.getImageData() : new byte[0];
}

Is there a better approach?

Thanks in advance.

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/28e21220-b6ec-4cb1-8588-e6d71f1cc963%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Best Practice Question, Form1 opens Form2, Form2 calls Form1.showBack()

2019-07-05 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

In the interest of user experience and convienience, I have a Form 1 that 
is heavily loaded (Lots of stored data)
Form 1 can instanciate Form 2, do business and Upon Touching Back Arrow, I 
do my Form 2 close oue and execute Form 1.showBack();

This visually works well. 

Wondering in keeping a referance to Form 1 while Form 2 is instanciated, am 
I potentially overloading the mobile device or in general poor operational 
design. (Forcing the device to maintain resources of both populated Forms)


PS. The reason this method is preferable is that Form 1 loads lots of data 
that can be changed by a user.

Thoughts?

BestRegards

-- 
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/991e3210-a3f9-41df-a02b-fbad8249bfbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] looking for simple payment options

2019-07-03 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 IOS Android

Looking for a simple payment option for our automotive service app.

Do you know anything about Square and if so is there an codename one 
interface?

Any suggestions?

Best 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/24338a02-63f4-4f2e-906c-d69f3476ab9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: is there an API to view tasks like Windows Task Manager

2019-06-29 Thread shop . service . assistant
Do we have an Codenameone API to access these tools?

I would like to see the basic performance while the app is running VS being 
suspended.

Thoughts?

On Friday, June 28, 2019 at 11:53:21 PM UTC-4, Shai Almog wrote:
>
> Yes devices also have energy management tools as well to see energy usage. 
> You can see these in the developer tools on Android devices. In iOS you can 
> see this information via the xcode profiler tools.
>

-- 
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/1d57792c-73c5-45b4-8e81-179a5279955a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Problem with Date Picker Pervious & Next Month Days Selection

2019-06-29 Thread shop . service . assistant
Yes.
Now click/touch any date after the 30th.

touching any date in current month, you can see it is selectes/highlighted.
Touching any date like the 1st will not highlight and when clicking on Done 
does not change date.

Regards.

On Friday, June 28, 2019 at 11:57:59 PM UTC-4, Shai Almog wrote:
>
> Hi,
> this worked for me. Did you click "Done"?
>
> Form hi = new Form("Test");
> Picker A3TimeSheetDate = new Picker();
> A3TimeSheetDate.setUseLightweightPopup(true);
> A3TimeSheetDate.setDate(new Date());
> A3TimeSheetDate.setType(Display.PICKER_TYPE_CALENDAR);
> hi.add(A3TimeSheetDate);
>
>
>

-- 
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/82d123d1-90b9-4bd4-955e-350ea4bef960%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Problem with Date Picker Pervious & Next Month Days Selection

2019-06-28 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 this Picker:
A3TimeSheetDate = new Picker();
A3TimeSheetDate.setUseLightweightPopup(true);

A3TimeSheetDate.setDate(inc.getDateObjectFromMMDD(a3Scheduler.ApptDate));
A3TimeSheetDate.setType(Display.PICKER_TYPE_CALENDAR);
SimpleDateFormat formatter = new SimpleDateFormat("E 
MM-dd-");
A3TimeSheetDate.setFormatter(formatter);
FontImage.setMaterialIcon(A3TimeSheetDate, 
FontImage.MATERIAL_DATE_RANGE, iconSize - 2);

However Days in previous and next months are visible however not selectable.

Attached is the Visible calendar.
Note 26th - 31 of May and 1st - 6th of July are not selectable.

Thoughts?

Thanks in advance
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/47f200c8-cf3a-4ee2-a579-a782628c8d3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] is there an API to view tasks like Windows Task Manager

2019-06-28 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 Android, IOS

Is there a similar process where we can see the cup usage, ram etc. for 
running apps?

Like Windows Task Manager.

Or anything else that would help me understand the load my app is placing 
on the device.

Thanks in advance

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/aa038a6c-cce7-4b51-8f9f-ca11ad48133f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Class instantiation

2019-06-28 Thread shop . service . assistant
Thanks.

On Thursday, June 27, 2019 at 11:33:28 PM UTC-4, Shai Almog wrote:
>
> This is valid in Java and should work without a problem.
>

-- 
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/fcd13975-f570-4328-9282-0165c7dc91a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: getBytesFromImage conversion always off by one byte (source is one byte greater)

2019-06-28 Thread shop . service . assistant


On Thursday, June 27, 2019 at 5:03:51 PM UTC-4, shop.servi...@gmail.com 
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 creating an Image from bytes: 
> Image CustomerPicture = Image.createImage(vehiclepicture, 0, 
> vehiclepicture.length);
> A3VehiclePhotoImageViewer = new ImageViewer(CustomerPicture)
> Source bytes are 303981, getBytesFromImage returns 303980
>
>
> public byte[] getBytesFromImage(com.codename1.ui.Image image) {
> ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
> byte[] BytesFromImage = new byte[0];
> try {
> if (image != null) {
> ImageIO.getImageIO().save(image, outputStream, 
> ImageIO.FORMAT_PNG, 1f);
> BytesFromImage = outputStream.toByteArray();
> }
> } catch (Exception e) {
> e.printStackTrace();
> MyLog.e(e);
> }
> return BytesFromImage;
> }
>
> 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/1a1e0adb-a1ae-4a80-b768-866f16c1e573%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: getBytesFromImage conversion always off by one byte (source is one byte greater)

2019-06-28 Thread shop . service . assistant
Thank you very much!

On Thursday, June 27, 2019 at 11:38:46 PM UTC-4, Shai Almog wrote:
>
> That method re-encodes a PNG which can have a different byte count than 
> the one in your original image. If you use EncodedImage you can use use 
> getData() to get the original image file.
>

-- 
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/ac55af98-18c9-4227-841c-a262a29df72a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] getBytesFromImage conversion always off by one byte (source is one byte greater)

2019-06-27 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 creating an Image from bytes: 
Image CustomerPicture = Image.createImage(vehiclepicture, 0, 
vehiclepicture.length);
A3VehiclePhotoImageViewer = new ImageViewer(CustomerPicture)
Source bytes are 303981, getBytesFromImage returns 303980


public byte[] getBytesFromImage(com.codename1.ui.Image image) {
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
byte[] BytesFromImage = new byte[0];
try {
if (image != null) {
ImageIO.getImageIO().save(image, outputStream, 
ImageIO.FORMAT_PNG, 1f);
BytesFromImage = outputStream.toByteArray();
}
} catch (Exception e) {
e.printStackTrace();
MyLog.e(e);
}
return BytesFromImage;
}

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/e25a752f-516c-4372-9f88-1e9b59535d73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Class instantiation

2019-06-27 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 think I'm having a brain fart here,

I have a form that populates a container that instantiates a container 
class, call it "a3VehicleRoInfoRecord", I hold a private instance of it in 
my form.
"private A3VehicleInfo a3VehicleRoInfoRecord = null;"
A3VehicleInfo a3VehicleRoInfoRecord = new A3VehicleInfo(…..);

Within the form a user can open a Dialog that can create a new local 
a3VehicleRoInfoRecord 
class and view its data (Data in this instance can change)

It appears that the first instance is overwritten by the second instance. 
However I have looked at this for some time and am not clear why. 
(reference changes)

The 2 instances are completely separate.
A3VehicleInfo a3VehicleRoInfoRecordSecondInstance = new A3VehicleInfo(…..); 

This is allowed in Swing w/o issue.

Is there something I am missing here?

Thoughts?

Best 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/a73772d4-0c6a-4bd8-a2b5-25da435eff02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] How To Read Thraed ID

2019-06-15 Thread shop . service . assistant
Thanks.

On Saturday, June 15, 2019 at 12:06:54 AM UTC-4, Shai Almog wrote:
>
> Thread name is only set for some threads. It very much depends how you 
> created the thread.
>

-- 
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/f3884b65-e591-453f-9979-45a2a0c3c863%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] How To Read Thraed ID

2019-06-14 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 IOS

I am monitoring the Threads in a module, I want to see the Thread ID, 
however on IOS 12+ Thread.getName() or Thread.toString() both return null.

Thoughts on how to look at the Thread ID?

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/cd9e0393-ff6f-4726-9f1e-c03260fa2b45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Unoptimized APK warnung when publishing simple codenameone app.Via Google Play Console.

2019-06-13 Thread shop . service . assistant
That's a shame, I much prefer a closed loop control over my distributions.

Thanks for your time.

Regards.

On Wednesday, June 12, 2019 at 11:26:16 PM UTC-4, Shai Almog wrote:
>
> No. This is actually prohibited by all appstores and it's not something we 
> support because devices generally try to block it as that's effectively 
> adware/virus behavior (I know it's not your intention but that's what those 
> guys do).
> There are native hacks for installation but usually it's via download not 
> for a locally available APK or IPA.
>

-- 
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/bd2cf27a-6b85-40cc-b17e-ea760ad64ed8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Unoptimized APK warnung when publishing simple codenameone app.Via Google Play Console.

2019-06-12 Thread shop . service . assistant
Thanks.

Q.
If I execute following code:

final String filename = PathTo_A3Tech.ipa;
Display.getInstance().execute(filename , e -> {
});
Will the OS (IOS 12+ & Android 7+) be able to run the correct app to 
install this?

If not, can you please advise me what code in my app can open this file 
(stored locally on device) and install it?

Thanks in advance.

regards.

On Wednesday, June 12, 2019 at 12:02:27 AM UTC-4, Shai Almog wrote:
>
> The UI there is very obtuse, it isn't failing because of that warning... 
> Everyone gets that so if it had failed none of us would be able to submit.
> You need to look through the other pages in the site for small things that 
> failed there, it's something else that's blocking like answering the child 
> protection questions etc.
>

-- 
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/89cf688e-d37d-4634-bc2b-a968c9fdc8ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Unoptimized APK warnung when publishing simple codenameone app.Via Google Play Console.

2019-06-11 Thread shop . service . assistant
Notice the "Start Roll Out To Publication" is disabled which prohibits me 
form continuing to publication.

Do you know how to get past this?



On Tuesday, June 11, 2019 at 12:22:31 AM UTC-4, Shai Almog wrote:
>
> It's a warning it doesn't block or delay app publication. The publication 
> UI is VERY badly designed. It's confusing, with the last update for that it 
> took me ages to figure out publication.
>

-- 
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/b6f801e5-1bda-49de-b22a-aa394289c855%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Storing my app on local server DB to be used for private publishing (Not Use Apple Store or Google Play)

2019-06-10 Thread shop . service . assistant
Thanks.

On Monday, June 10, 2019 at 12:35:15 AM UTC-4, Shai Almog wrote:
>
> To expand on what Diamond correctly stated. You can host your own APK if 
> users enable the "Install from External Sources" setting option. But using 
> the alpha/beta track is much better. 
> While their UI/workflow leaves a lot to be desired it has the option of 
> making updates seamless which is a huge advantage.
> For iOS beta distribution without testflight is painful as you would need 
> to add every beta tester to your provisioning profile and rebuild with the 
> new provisioning profile. Tesflight is also a bit painful as you have to go 
> through appstore approval (albeit a simpler/shorter process). 
>

-- 
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/5e2783e7-497a-4f64-88cc-2aefde5c925a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Unoptimized APK warnung when publishing simple codenameone app.Via Google Play Console.

2019-06-10 Thread shop . service . assistant
how do you work around this and get the app published despite their 
optimization complaint?

Regards.

On Monday, June 10, 2019 at 12:30:33 AM UTC-4, Shai Almog wrote:
>
> That's Google's BS. 
> Google has an option to split APK resources which we don't leverage and 
> don't really need to. In fact for Codename One Build it estimates using it 
> can save 6% of the download size. That's more than nothing but it's a small 
> number.
>
> This is required for apps built in Android Studio because they are so damn 
> wasteful in terms of resources. We get that exact same warning for Codename 
> One build but the funny part is the report. Where they show we are 66% 
> smaller than the median app even without those redundant "optimizations":
>
> [image: Screen Shot 2019-06-10 at 7.26.05.png]
>
>

-- 
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/5c17bf4b-0f1e-4e80-a3b4-c56e27e450d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Storing my app on local server DB to be used for private publishing (Not Use Apple Store or Google Play)

2019-06-09 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 IOS & Android

I am approaching a beta release and wish to manage the distribution of the 
Mobile App (Codename one app) internally.

My proposed plan is:
I would download the release.apk file, store the binary in my Server DB.
Broadcast to all users the availability of updated version.
The users (mobile) would download the app and install it locally.

Can you please share procedure on how to install an .apk file on the mobile 
device?

Any other thoughts would be welcome.

PS. I use this exact process for my Swing Console Apps.

Thanks in advance.

Best 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/d7e3b89e-bf3a-4602-a331-075d69e1fe69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Unoptimized APK warnung when publishing simple codenameone app.Via Google Play Console.

2019-06-09 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 Android 7+

Purchased Google Developer license
Trying to publish simple app and getting:

Unoptimized APK

Warning:

This APK results in unused code and resources being sent to users. Your app 
could be smaller if you used the Android App Bundle. By not optimizing your 
app for device configurations, your app is larger to download and install 
on users' devices than it needs to be. Larger apps see lower install 
success rates and take up storage on users' devices.

Resolution:

Use the Android App Bundle  to automatically 
optimize for device configurations, or manage it yourself with multiple 
APKs.

And with that warning, the "Start Rollout to internal test" is disabled.

Please see attached screen shot.

Using codenameone, is there a simple way to publish to google play store 
w/o using the Google Play Console?

Thanks in advance.

Any documentation will be greatly appreciated.

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/0afeb0f1-227c-46b4-b1e3-b9b513d76bb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: IOS Signing and 2 stage verification

2019-06-05 Thread shop . service . assistant
Sorry, false alarm

Apples cryptic messages got past me.

I hade to accept a new users agreement on my developers account.

Regards.

On Tuesday, June 4, 2019 at 11:44:49 PM UTC-4, Shai Almog wrote:
>
> Do you have 2 factor authentication enabled?
> Did you get the passcode prompt?
>

-- 
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/c1978b8b-949e-4498-9fbf-9172e98b1a58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] IOS Signing and 2 stage verification

2019-06-04 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 IOS

IOS Certificate Wizard Fails to login due to 2 stage authentication.

Please see attached PNG

Is there a work around or solution?

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/2552b487-218b-4080-81cb-84d1830af8f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: com.codename1.ui.table.Table VS com.codename1.ui.table.TableLayout with excess of 1k rows

2019-06-03 Thread shop . service . assistant
Thanks.

On Sunday, June 2, 2019 at 11:51:03 AM UTC-4, shop.servi...@gmail.com 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 7+ IOS 12+
>
> I have a parts lookup table requirement where it is possible for a 
> filtered list to contain in excess of 1K rows.
>
> Currently using com.codename1.ui.table.TableLayout(x, 8) 
>
> However when scrolling, the list, the device is laboring and is not 
> performing well (sluggish)
>
> Short of using a dynamic table (load chunks)
>
> What is your opinion on what method I should use.
>
> Thanks in advance
>
> 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/6d33351e-27d2-40d5-ac93-bc6a44ac7d4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] com.codename1.ui.table.Table VS com.codename1.ui.table.TableLayout with excess of 1k rows

2019-06-02 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 7+ IOS 12+

I have a parts lookup table requirement where it is possible for a filtered 
list to contain in excess of 1K rows.

Currently using com.codename1.ui.table.TableLayout(x, 8) 

However when scrolling, the list, the device is laboring and is not 
performing well (sluggish)

Short of using a dynamic table (load chunks)

What is your opinion on what method I should use.

Thanks in advance

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/41a8060b-f477-4bb4-9c9d-43572fe3fe6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: setting the pressed state of a Tab at instanciation

2019-06-02 Thread shop . service . assistant
I can't reproduce this issue in my test case.

That's disappointing.

Sorry to waste your time.

Will have to look at issue more closely.

Regards.

On Saturday, June 1, 2019 at 11:11:28 PM UTC-4, Shai Almog wrote:
>
> Can you isolate this to a test I case I can run?
>

-- 
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/f2587346-b8c2-40dd-a817-d39974da3c04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: setting the pressed state of a Tab at instanciation

2019-06-01 Thread shop . service . assistant
Applied following w/o results
ManageTimeSheetsTab.setSelectedIndex(0, false);
ManageTimeSheetsTab.setSelectedIndex(0);

Regards.

On Friday, May 31, 2019 at 6:21:44 PM UTC-4, shop.servi...@gmail.com 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, IOS, Android
>
> I have a simple 2 element Tabs component and set the Tabs UIID to 
> "mpiTabMetal" 
> which has a foreground color for the unselected & selected states.
>
> ManageTimeSheetsTab = new Tabs(Component.TOP);
> ManageTimeSheetsTab.setTabUIID("mpiTabMetal");
> ManageTimeSheetsTab.setSelectedIndex(0, true);
>
> The problem is tab index 0 is by default set initially in the Tabs class.
> However the unselected state is being displayed when in fact the index is 
> selected.
>
> If I setSelectedIndex(1), both index tabs display the correct states 
> Any subsequent selections display correctly. Only the initial 
> instantiation does the problem surface.
>
> Attached Image TabsInitialStateIndex_0_isSet.PNG shows the 2 tabs as 
> "unselected"
> Attached Image TabsInitialStateIndex_1_isSet.PNG shows the 2 tabs as 
> "unselected"
>
> Attached Image UnselectedThemeUIID.PNG shows the Unselected state.
> Attached Image SelectedThemeUIID.PNG shows the Selected state.
>
> Thanks in advance
>
> 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/ef5029b2-18c7-4c8f-be75-5d6a853a0fc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] setting the pressed state of a Tab at instanciation

2019-05-31 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, IOS, Android

I have a simple 2 element Tabs component and set the Tabs UIID to "mpiTabMetal" 
which has a foreground color for the unselected & selected states.

ManageTimeSheetsTab = new Tabs(Component.TOP);
ManageTimeSheetsTab.setTabUIID("mpiTabMetal");
ManageTimeSheetsTab.setSelectedIndex(0, true);

The problem is tab index 0 is by default set initially in the Tabs class.
However the unselected state is being displayed when in fact the index is 
selected.

If I setSelectedIndex(1), both index tabs display the correct states 
Any subsequent selections display correctly. Only the initial instantiation 
does the problem surface.

Attached Image TabsInitialStateIndex_0_isSet.PNG shows the 2 tabs as 
"unselected"
Attached Image TabsInitialStateIndex_1_isSet.PNG shows the 2 tabs as 
"unselected"

Attached Image UnselectedThemeUIID.PNG shows the Unselected state.
Attached Image SelectedThemeUIID.PNG shows the Selected state.

Thanks in advance

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/d576bc7a-7835-47c9-bc1a-dc644566ccad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] ToolBar in Dialog

2019-05-15 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 All

Curious, Adding ToolBar components in Dialog was asked in 2015,
The answer was "Your best bet is to not add a title to the dialog and to 
add a component representing back into the Dialog."

Is this still the case?
If So do you still recommend not setting the Title Area and use 
BorderLayout with a NORTH  component that emulates the features we want 
from a Toolbar ?

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/34e08804-963c-429a-85b2-74d4d0b20495%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] instanceof and obfuscation

2019-05-13 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 IOS & Android

does instanceof work when the code is obfuscated at the compiled for the 
device?
 
if (comp instanceof Container) {
do something here ...
}

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/80d04024-55a7-4672-ab7d-c6809808e797%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: best practice to re-order Tabs

2019-05-13 Thread shop . service . assistant
Thanks.

How does one programmatically set the drag region for a component?

Regards.

On Sunday, May 12, 2019 at 10:50:52 PM UTC-4, Shai Almog wrote:
>
> No.
> Drag region is the area within a component that can be "draggable" that 
> means that if you grab a tab in outside that region it will not drag only 
> if you drag from that area. You usually mark that area with a fuzzy texture 
> marking to indicate that it's something people can touch/drag.
>

-- 
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/169d691f-630a-4269-b0ad-90835b0ea1e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: best practice to re-order Tabs

2019-05-12 Thread shop . service . assistant
Thanks.
I prefer setting the drag region If I understand this.

Would we set a region like the (LEFT Tabs Orientation, Swiping and 
scrolling would be top to bottom))  left 1/2 of the Tab component would 
scroll and the right half would be DND?

How would I accomplish setting drag region? I don't see any method to do 
this directly.
Also can you give me a visual of the user delineating scroll / dragging 
region?

Thanks in advance.

Regards.


On Saturday, May 11, 2019 at 11:07:12 PM UTC-4, Shai Almog wrote:
>
> We just call that scrolling ;-)
> There are several solutions for this, one of them is to define a drag 
> region within the component which means only a specific region is 
> swipeable. The other is to have an edit mode, e.g. you can set the 
> draggable to true only when that edit mode is enabled.
>

-- 
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/c70e9be9-bf3d-4ccf-ba7a-2adeaa9983c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: best practice to re-order Tabs

2019-05-11 Thread shop . service . assistant
Sorry, I was referring to scrolling and I called my finger action from top 
to bottom as a swipe. Not sure how else to refer to this action.
I set here: SubSystemTabs.setSwipeActivated(false);

Is there something else I can do to reduce the sensitivity of DND when I 
want to scroll the tabs?

Are there demos that I can look at where components in a scrollable pane 
are also DND enabled.

Thoughts?

Regards


On Saturday, May 11, 2019 at 12:44:36 AM UTC-4, Shai Almog wrote:
>
> Why do you have swipe activated for vertical tabs?
> Doesn't it make more sense to disable swiping?
>

-- 
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/012a8932-437e-4994-9b73-b557f0135948%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: best practice to re-order Tabs

2019-05-09 Thread shop . service . assistant
One suggestion as I suspect this was unintended.
When dragging form low index to higher index the dropped index was (dest 
-1) and for me should be dest idx.

if(destIndex > i) {
t.insertTab(title, null, source, destIndex - 1);
} else {
t.insertTab(title, null, source, destIndex);
}

   should become:
  t.insertTab(title, null, source, destIndex);

Q. How can we change the drag sensitivity or delay so that when I want to 
scroll my tab list the dragged listener does not interpret this as a drag 
request.

Thanks in advance.

Regards




On Tuesday, May 7, 2019 at 8:59:05 AM UTC-4, shop.servi...@gmail.com wrote:
>
> Thanks so much.
> That worked perfectly
>
> Regards
>
> On Monday, May 6, 2019 at 11:08:42 PM UTC-4, Shai Almog wrote:
>
>> I thought this would make an interesting blog post so I wrote a full 
>> working sample. My initial mock had a mistake in listener registration:
>>
>> Form hi = new Form("Tabs", new BorderLayout());
>>
>> Tabs t = new Tabs();
>>
>> t.addTab("T1", new Label("Tab 1"));
>> t.addTab("T2", new Label("Tab 2"));
>> t.addTab("T3", new Label("Tab 3"));
>> t.addTab("T4", new Label("Tab 4"));
>>
>> Container tabsC = t.getTabsContainer();
>> tabsC.setDropTarget(true);
>> for(Component c : tabsC) {
>> c.setDraggable(true);
>> c.addDropListener(e -> {
>> e.consume();
>> Component dragged = c;
>> int x = e.getX();
>> int y = e.getY();
>> int i = tabsC.getComponentIndex(dragged);
>> if(i > -1) {
>> Component dest = tabsC.getComponentAt(x, y);
>> if(dest != dragged) {
>> Component source = t.getTabComponentAt(i);
>> int destIndex = tabsC.getComponentIndex(dest);
>> if(destIndex > -1 && destIndex != i) {
>> String title = t.getTabTitle(i);
>> t.removeTabAt(i);
>> if(destIndex > i) {
>> t.insertTab(title, null, source, destIndex - 1);
>> } else {
>> t.insertTab(title, null, source, destIndex);
>> }
>> }
>> }
>> tabsC.animateLayout(400);
>> } 
>> });
>> }
>>
>> hi.add(CENTER, t);
>> hi.show();
>>
>>
>>

-- 
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/41d87b53-3e4f-46bb-92cb-35ceb0f4f185%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: best practice to re-order Tabs

2019-05-07 Thread shop . service . assistant
Thanks so much.
That worked perfectly

Regards

On Monday, May 6, 2019 at 11:08:42 PM UTC-4, Shai Almog wrote:

> I thought this would make an interesting blog post so I wrote a full 
> working sample. My initial mock had a mistake in listener registration:
>
> Form hi = new Form("Tabs", new BorderLayout());
>
> Tabs t = new Tabs();
>
> t.addTab("T1", new Label("Tab 1"));
> t.addTab("T2", new Label("Tab 2"));
> t.addTab("T3", new Label("Tab 3"));
> t.addTab("T4", new Label("Tab 4"));
>
> Container tabsC = t.getTabsContainer();
> tabsC.setDropTarget(true);
> for(Component c : tabsC) {
> c.setDraggable(true);
> c.addDropListener(e -> {
> e.consume();
> Component dragged = c;
> int x = e.getX();
> int y = e.getY();
> int i = tabsC.getComponentIndex(dragged);
> if(i > -1) {
> Component dest = tabsC.getComponentAt(x, y);
> if(dest != dragged) {
> Component source = t.getTabComponentAt(i);
> int destIndex = tabsC.getComponentIndex(dest);
> if(destIndex > -1 && destIndex != i) {
> String title = t.getTabTitle(i);
> t.removeTabAt(i);
> if(destIndex > i) {
> t.insertTab(title, null, source, destIndex - 1);
> } else {
> t.insertTab(title, null, source, destIndex);
> }
> }
> }
> tabsC.animateLayout(400);
> } 
> });
> }
>
> hi.add(CENTER, t);
> hi.show();
>
>
>

-- 
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/0ab5344b-7641-46a4-ba1b-b3e91c999cc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: best practice to re-order Tabs

2019-05-06 Thread shop . service . assistant
Thanks, have been workint this and have the following:

tabsC.addDropListener(e -> {
/// you need to fill this up
I get The Source (e.getDraggedComponent()) and can learn the tabsC 
index.
however I can not learn the target index needed to get the underlying 
component (tabs.getComponentIndex(e.getDropTarget()) returns -1)

Q. Dropping tab 3 to tab 1, I see visually the tab title text has 
changed position. The underlying RadioButton instance has been swapped.
 however the object inserted in each of the tabs have not been 
reordered.
 I see your thought on removing and adding the tab in the right 
location, however I would need to know the dropped index to acomplish this.
 There seems to be an option to use replace (current, next), 
however I need to learn what the dropped index is.

 Appreciate any help your team can provide.   
Thanks in advance! 
});

On Sunday, May 5, 2019 at 12:29:11 AM UTC-4, Shai Almog wrote:

> Didn't have time to try/run this but something like this might work. You'd 
> need to remove and re-add the tab in the right location within the drop 
> listener so the swipe/animation will work.
> It relied a bit on the internal structure of the tabs component hierarchy 
> but not too much:
>
> Form hi = new Form("Tabs", new BorderLayout());
>
> Tabs t = new Tabs();
>
> t.addTab("T1", new Label("Tab 1"));
> t.addTab("T2", new Label("Tab 2"));
> t.addTab("T3", new Label("Tab 3"));
> t.addTab("T4", new Label("Tab 4"));
>
> Container tabsC = t.getTabsContainer();
> tabsC.setDropTarget(true);
> for(Component c : tabsC) {
> c.setDraggable(true);
> }
>
> tabsC.addDropListener(e -> {
> /// you need to fill this up
> });
>
> hi.add(CENTER, t);
>
> hi.show();
>
>
>
>

-- 
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/803c14bd-3de3-4704-afa8-444be9d84acd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] best practice to re-order Tabs

2019-05-04 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, IOS, Android

I have a requirement to re-order tabs (Move to end, Move before selected 
Tab etc.) Via list dialog.

I have looked at the various methods, insert, remove, replace

However, after some trial, I don't see a clean simple way to swap tabs.

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/f0b6bf0f-efed-4223-8253-7c3b060da231%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: best practice (Dialog is Open and App is suspended)

2019-05-03 Thread shop . service . assistant
Thanks.
triggering suspend/resume in the simulator menu will be a big help.
You have a great product!

Thanks so much for your continued support.

On Friday, May 3, 2019 at 12:37:37 AM UTC-4, Shai Almog wrote:
>
> This error occurs when you try to add a component that's already added to 
> another component. 
> I'm guessing the dialog shows a component which you didn't remove from the 
> now disposed dialog. If such a component exists you can remove it using 
> component.remove().
>
> You can reproduce this on the simulator by triggering suspend/resume in 
> the simulator menu.
>

-- 
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/bd7dea35-d54f-454e-8456-32189dc7c632%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] best practice (Dialog is Open and App is suspended)

2019-05-02 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 IOS & Android

I have a case where a dialog is open and the app becomes suspended. (IOS 
button at bottom was pressed)

Then when the App is resumed, The Dialog is no longer modal/visible, 
however when re-opening the dialog, I get Internal Application Error, 
component is already contained in container.

How does one usually handle suspension as it relates to Open Dialogs?

PS: I utilize stop() and handel what is known to me and clean up etc.
current = Display.getInstance().getCurrent();
if (current instanceof Dialog) {
((Dialog) current).dispose();
current = Display.getInstance().getCurrent();
}

How do I get the Dialog to be modal/visible after the app is awoken?

in my start() method, I do this:
if (current != null) {
current.show();
 }

Thanks in advance.

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/522875ae-148d-48b7-a7ca-99aba7c4703c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: AutoCompleteTextField NullPointerException

2019-04-12 Thread shop . service . assistant
When I change the Component from AutoCompleteTextFiemd to TextArea in
protected Component createCell(Object value, final int row, final int 
column, boolean editable) method,
The text is rendered appropriately with the exception that I am not able to 
interact with the AutoCompleteTextFiemd as a pupup of suggestions when this 
column takes focus.

Thoughts?

Regards

On Thursday, April 11, 2019 at 10:26:31 PM UTC-4, Shai Almog wrote:
>
> I suggest using a single Label or TextArea instance within the renderer. 
> When you reuse the instance the renderer manipulates the component and that 
> triggers artifacts. To make the component look like AutoComplete just use 
> setUIID().
>

-- 
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/deb139b6-251c-4376-8d6e-905351b4c57e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: how to render TextArea or textField to vary font and color within the body of text

2019-04-12 Thread shop . service . assistant
Thanks, I appreciate the effort.

The Question is Am I going down the wrong path?
I am 30 years in Swing designs and for the past 3 years have struggled to 
fully adapt to the mobile world in that my first instinct is to build 
screens with rich text components in mind.

Is there a standard to generate paragraphs for example that highlight text 
to present a decent look to the user with emphasis?

Regards.

On Thursday, April 11, 2019 at 10:28:57 PM UTC-4, Shai Almog wrote:
>
> There is an issue in that code discussed in the comments below. There is a 
> newer improved version of the code in the Facebook Clone if you have the 
> online courses. I'll try to dig through my code to find it and post an 
> updated blog with that.
>

-- 
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/ee1b6bc6-52eb-481e-bff4-60ac1a25210e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: how to render TextArea or textField to vary font and color within the body of text

2019-04-11 Thread shop . service . assistant
I see the simulator does not render any text.

Thoughts?

Regards.

On Thursday, April 11, 2019 at 2:03:22 PM UTC-4, shop.servi...@gmail.com 
wrote:
>
> I understand, Thanks.
> I can look deeper into the RichTextView class.
>
>
> On Wednesday, April 10, 2019 at 12:08:19 PM UTC-4, Dave Dyer wrote:
>>
>> Text is an interface that mostly mimics strings, but it's part of a group 
>> of interfaces I use to build my GUIs, not something
>> you could just pull out and plug into your applications.  You have to 
>> take the whole village, and I haven't engineered the
>> villiage for export and general use.   
>>
>> The key things are that Text has string-like methods such as "append" and 
>> "getWidth", and interfaces with a canvas proxy
>> that supports things like"draw".  I produce widgets that look like this 
>> using Text objects, using essentially the same logic that
>> was once based on strings.  
>>
>

-- 
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/36cf363a-cd05-4922-9db8-42972a2a2e9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: how to render TextArea or textField to vary font and color within the body of text

2019-04-11 Thread shop . service . assistant
I understand, Thanks.
I can look deeper into the RichTextView class.


On Wednesday, April 10, 2019 at 12:08:19 PM UTC-4, Dave Dyer wrote:
>
> Text is an interface that mostly mimics strings, but it's part of a group 
> of interfaces I use to build my GUIs, not something
> you could just pull out and plug into your applications.  You have to take 
> the whole village, and I haven't engineered the
> villiage for export and general use.   
>
> The key things are that Text has string-like methods such as "append" and 
> "getWidth", and interfaces with a canvas proxy
> that supports things like"draw".  I produce widgets that look like this 
> using Text objects, using essentially the same logic that
> was once based on strings.  
>

-- 
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/85b8bcf2-4ccb-4598-a6bd-92e87d6cf22b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] AutoCompleteTextField NullPointerException

2019-04-10 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 Windws 10 Pro
Simulator Latest
Device PC, IOS 12+ Android 6+

[EDT] 0:2:35,975 - Exception: java.lang.NullPointerException - null
java.lang.NullPointerException
 at 
com.codename1.ui.AutoCompleteTextField$FormPointerPressListener.actionPerformed(AutoCompleteTextField.java:464)
 at 
com.codename1.ui.util.EventDispatcher.fireActionSync(EventDispatcher.java:459)
 at 
com.codename1.ui.util.EventDispatcher.fireActionEvent(EventDispatcher.java:362)
 at com.codename1.ui.Form.pointerPressed(Form.java:2946)
 at com.codename1.ui.Component.pointerPressed(Component.java:4502)
 at com.codename1.ui.Display.handleEvent(Display.java:2145)
 at com.codename1.ui.Display.edtLoopImpl(Display.java:1152)
 at com.codename1.ui.Display.mainEDTLoop(Display.java:1070)
 at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
 at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)

Uncaught Exception is this code:
Container layered = f.getLayeredPane(AutoCompleteTextField.getClass(), 
true);
Form f = getComponentForm();
Where "f" = null;Causing the Exception.

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/ed1f844a-ffd4-4601-9847-98810f9a2817%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: how to render TextArea or textField to vary font and color within the body of text

2019-04-10 Thread shop . service . assistant
Can you share the "text" Object and some examples of use?

It would be great if I were able to use mixed text fonts colors and icons.

Thanks in advance,

Regards.


On Wednesday, April 10, 2019 at 12:44:39 AM UTC-4, Shai Almog wrote:
>
> You have two options. Either native HTML or do it yourself. The native 
> HTML can only be rendered in a very specific component area. That's a 
> platform specific limitation that we can't workaround.
>

-- 
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/25f46b5c-1a62-490f-96c6-9089f0d067ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: how to render TextArea or textField to vary font and color within the body of text

2019-04-09 Thread shop . service . assistant
Thanks, however I don't like that lightweight option.

What does one use on Mobile devices to mix up fonts like size and color 
highlighting.
What is the preferred method?

Regards.

On Monday, April 8, 2019 at 1:32:25 PM UTC-4, shop.servi...@gmail.com 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 7+ & IOS 12+
>
> I am looking to vary font and color within the body of text.
>
> In Swing I use HTML
>
> Best approach would be appreciated.
>
> 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/61270a3c-81ff-4cce-9122-1772daf54c1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] how to render TextArea or textField to vary font and color within the body of text

2019-04-08 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 7+ & IOS 12+

I am looking to vary font and color within the body of text.

In Swing I use HTML

Best approach would be appreciated.

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/19b54c50-867f-41f6-a80d-fd287bb7be9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Product Plans To add API to view system crash logs

2019-04-07 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 Android 7+ & IOS 12+

Do you think there will be an API in the future that will allow apps to 
view system logs ?

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/5f54c5ae-3a23-4fc8-aa70-e4275b7661c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: getting Internal Application Error: Null Pointer Exception: Attempt to invoke virtual method on com.codenameone1.r.x

2019-04-05 Thread shop . service . assistant
What is the procedure to look at the device log?

On Thursday, April 4, 2019 at 11:48:17 PM UTC-4, Shai Almog wrote:
>
> You need to look at the stack trace which you can see in the device log.
>

-- 
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/7b91d521-d017-4a73-8df5-5f3c53e99f30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Using themes, setting Selected Foreground on TAB fails to change foreground color as defined in theme

2019-04-04 Thread shop . service . assistant
Perhaps I did not explain my issue.

I have used this Above example and set : "tb.setTabUIID(null);" as 
suggested.

As I investigated further, it appears this method of overriding the Tabs 
class with SpanButton is where the Selected Tab does not seem to recognize 
that it is "selected"

The UIID theme has selected, unselected and Pressed colors defined.
Only the Unselected and Pressed states trigger events that conform to the 
defined color states.
I have confirmed the Tabs class does indicate the correct index selected, 
(tb.getSelectedIndex()) just that the color defined in 
custom.setTextUIID("mpiTabMetal") ; is not utilized.

Thoughts?

On Wednesday, April 3, 2019 at 2:38:17 PM UTC-4, shop.servi...@gmail.com 
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 looking to set the selected Color of a Tab (Tabs Object) when 
> selected.
>
> I set the selected ForeGround color to say Green
>
> However the Selected Tab does not change color when selected so there is 
> no visual way to see which tab has been selected.
>
> I am using this model:
> Tabs tb = new Tabs(Component.TOP) {
> @Override
> protected Component createTab(String title, Image icon) {
> SpanButton custom = new SpanButton(title);
> custom.setIcon(icon);
> custom.setUIID("Container");
> custom.setTextUIID("Tab");
> custom.setIconPosition(BorderLayout.NORTH);
> custom.setIconUIID("Tab");
> return custom;
> }
> @Override
> protected void setTabSelectedIcon(Component tab, Image 
> icon) {
> ((SpanButton) tab).setPressedIcon(icon);
> }
> protected void selectTab(Component tab) {
> }
> @Override
> protected void bindTabActionListener(Component tab, 
> ActionListener l) {
> ((SpanButton) tab).addActionListener(l);
> }
> };
> tb.setTabUIID(null);
>
> I have changed the custom.setUIID("Container"); to a theme where selected 
> foreground is green, where unselected is black
>
> As described in the documentation: 
> https://www.codenameone.com/blog/tip-customize-tabs-behavior.html
>
> 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/c72cc3ea-16b8-4853-95b8-0e159093850e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] getting Internal Application Error: Null Pointer Exception: Attempt to invoke virtual method on com.codenameone1.r.x

2019-04-04 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 Android 6+ and IOS 12+

Just started getting this error on both Android and IOS this week.

Have not trouble shot this to tell you the code path where this occurs as 
My App is not catching this and therefore I do not have a stack trace.

Thoughts?

-- 
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/79fc9db5-48a2-458b-9094-70aec21e97ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Using themes, setting Selected Foreground on TAB fails to change foreground color as defined in theme

2019-04-03 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 looking to set the selected Color of a Tab (Tabs Object) when selected.

I set the selected ForeGround color to say Green

However the Selected Tab does not change color when selected so there is no 
visual way to see which tab has been selected.

I am using this model:
Tabs tb = new Tabs(Component.TOP) {
@Override
protected Component createTab(String title, Image icon) {
SpanButton custom = new SpanButton(title);
custom.setIcon(icon);
custom.setUIID("Container");
custom.setTextUIID("Tab");
custom.setIconPosition(BorderLayout.NORTH);
custom.setIconUIID("Tab");
return custom;
}
@Override
protected void setTabSelectedIcon(Component tab, Image 
icon) {
((SpanButton) tab).setPressedIcon(icon);
}
protected void selectTab(Component tab) {
}
@Override
protected void bindTabActionListener(Component tab, 
ActionListener l) {
((SpanButton) tab).addActionListener(l);
}
};
tb.setTabUIID(null);

I have changed the custom.setUIID("Container"); to a theme where selected 
foreground is green, where unselected is black

As described in the 
documentation: https://www.codenameone.com/blog/tip-customize-tabs-behavior.html

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/5d803ec3-a3c6-49dc-a278-f4dac936922f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] TABS and multiline text

2019-04-02 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

How can I Set a Tab name with multiline text as shown in the attached 
picture?
Note In Java Swing I use html to accomplish this.

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/dc33831b-4b2c-40d1-96d8-d8437148c5c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Best Practice Visually Exposing LongPointerPressed functionality

2019-03-26 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 ALL

I have sprinkled long pointer pressed functionality in my app and am 
wondering if there is a best practice to visually expose this through an 
icon perhaps.

Is there a standard I should consider that makes it obvious that there is 
action behind a long pointer press?

Thanks in Advance.

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/00fff03e-fba5-407e-98f1-7edd3e8b2c27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Strip html from string

2019-03-13 Thread shop . service . assistant
Perfect.
Thank You for all your help!

Regards

On Tuesday, March 12, 2019 at 12:17:03 PM UTC-4, Steve Hannah wrote:
>
> 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/8ace06dc-c634-4e7b-a9cc-2faee4b9b7d5%40googlegroups.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] com.codename1.ui.table.TableLayout (best practive to /Add delete a row dynamically)

2019-03-06 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 allow a user to add / delete rows of a table.

I have a TableLayout component with say 10 rows and 4 columns.

Best practice to delete the 4 columns from a row?

I see method "removeLayoutComponent(*Component* 
 comp)"
I could individually call this method on the 4 components that make up the 
row I want deleted.

Is there a recommended approach?

PS. I do see a "addLayoutComponent" method, however I do not grasp how I 
would add a row at a specific location.

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/b1a60c23-f948-4bd7-9396-5728c54ae332%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Picker with Today Button

2019-03-01 Thread shop . service . assistant
Sorry, Forgot this issue.

When opening Calendar for Current Month, Widget will not accept Touch 
Events in the past.

So If Today is March 1st and I touch the 28th (previous day) The 1st 
remains highlighted.
However if we select the previous Month, all days are selectable.

Thoughts?

On Friday, March 1, 2019 at 4:29:59 PM UTC-5, shop.servic...@gmail.com 
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 Android & IOS
>
> is there a way to get a "Today" Button/option 
> when setType(Display.PICKER_TYPE_CALENDAR); ?
>
> A3AppointmentDate = new Picker();
> A3AppointmentDate.setUseLightweightPopup(true);
> A3AppointmentDate.setTactileTouch(true);
> A3AppointmentDate.setDate(inc.getDateObjectFromMMDD(ApptDate));
> A3AppointmentDate.setType(Display.PICKER_TYPE_CALENDAR);
> SimpleDateFormat formatter = new SimpleDateFormat("E MM-dd-");
> A3AppointmentDate.setFormatter(formatter);
>
>
> See Pictures attached.
>
> 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/d7e6dc21-fa5d-47d3-ad95-e3341f5d7ee1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Picker with Today Button

2019-03-01 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 Android & IOS

is there a way to get a "Today" Button/option 
when setType(Display.PICKER_TYPE_CALENDAR); ?

A3AppointmentDate = new Picker();
A3AppointmentDate.setUseLightweightPopup(true);
A3AppointmentDate.setTactileTouch(true);
A3AppointmentDate.setDate(inc.getDateObjectFromMMDD(ApptDate));
A3AppointmentDate.setType(Display.PICKER_TYPE_CALENDAR);
SimpleDateFormat formatter = new SimpleDateFormat("E MM-dd-");
A3AppointmentDate.setFormatter(formatter);


See Pictures attached.

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/555b8497-80b8-4907-900e-8b1b0300cca9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Dynamic Class Loading

2019-02-26 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 
Device Android, IOS

For My Edification, Curious on how Android & IOS manages memory regarding 
classes in a given ap.

I understand in Jave 8+ classes are dynamically loaded as needed and 
removed when garbage cleaned.

Briefly, How does Android and IOS manage this?

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/7f64ff79-72a2-480e-a45c-85f5fd70a1f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: UIID Text Embedded Border

2019-02-26 Thread shop . service . assistant
Thanks

On Monday, February 25, 2019 at 8:24:54 PM UTC-5, shop.servic...@gmail.com 
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
>
> Is it possible to create a UIID with embedded text in Border as in 
> attached image?
>
> I have a Swing method I use to define a space more intuitively 
>
> public void setScrollPaneTextAndBoxColors(JScrollPane 
> BorderTextColors, String Text,
> int lintThickNess, int TextPositioning, java.awt.Font font, 
> Color Background, Color Foreground, int RaisesLowered) {
> 
> BorderTextColors.setBorder(javax.swing.BorderFactory.createTitledBorder(
> new javax.swing.border.LineBorder(Foreground, 
> lintThickNess, true),
> Text, TextPositioning,
> RaisesLowered, font, Background));
> }
>
> 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/8fa8b2c7-74ae-4997-811d-766595c14aaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] UIID Text Embedded Border

2019-02-25 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

Is it possible to create a UIID with embedded text in Border as in attached 
image?

I have a Swing method I use to define a space more intuitively 

public void setScrollPaneTextAndBoxColors(JScrollPane BorderTextColors, 
String Text,
int lintThickNess, int TextPositioning, java.awt.Font font, 
Color Background, Color Foreground, int RaisesLowered) {

BorderTextColors.setBorder(javax.swing.BorderFactory.createTitledBorder(
new javax.swing.border.LineBorder(Foreground, 
lintThickNess, true),
Text, TextPositioning,
RaisesLowered, font, Background));
}

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/4c471f02-93ef-4199-a0bf-772b9fe614ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Scrolling with Borderlayout (NORTH & SOUTH) overlappng

2019-02-20 Thread shop . service . assistant
Thank You!

On Tuesday, February 19, 2019 at 8:49:29 AM UTC-5, shop.servic...@gmail.com 
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 have a BorderLayout Dialog, 2 com.codename1.ui.table.TableLayout(rows, 
> 1) Containers
> First Container has 20 rows of Label("some text) and is set as 
> dlg.add(BorderLayout.NORTH,ContainerDataBaseContainer);
>
> And An Options Container set as
> dlg.add(BorderLayout.SOUTH,OptionsContainer);
> Scrolling is set true for ContainerDataBaseContainer
>
> When Running demo, ContainerDataBaseContainer consumes 100% of the frame 
> and overlaps OptionsContainer Container
> VS Always showing 
> OptionsContainer  at Bottom and the ContainerDataBaseContainer scrolls 
> between top and OptionsContainer 
> Please see attached pics BorderLayoutScrollPic1.JPG , 
> BorderLayoutScrollPic2.JPG& BorderLayoutScrollPic3.JPG
> Pic one shows when app first opened,
> Pic two shoes app when Top container is scrolled.
> Pic Three shows correct scrolling between Top header and bottom options 
> container
>
> Here is the demo code:
>
> --
> Dialog dlg = new Dialog("A3-Tech Customer Search");
> try {
> int rows = 20;
> dlg.setLayout(new BorderLayout());
> Container ContainerDataBaseContainer = new Container(new 
> com.codename1.ui.table.TableLayout(rows, 1));
> ContainerDataBaseContainer.setScrollableY(true);
> for (int a = 0; a < rows; a++) {
> buildConstrantsGeneric(ContainerDataBaseContainer, new 
> Label("Label Row [" + (a + 1) + "]"), a, 0, 100);
> }
> Container OptionsContainer = new Container(new 
> com.codename1.ui.table.TableLayout(1, 3));
> Button CmdCancel = new Button("Cancel", "Button");
> CmdCancel.addActionListener(e -> {
> dlg.dispose();
> });
> Button ExecSearch = new Button("Execute Search", "Button");
> ExecSearch.addActionListener(e -> {
> dlg.dispose();
> });
> Button OpenRos = new Button("Load Open Invoices", 
> "Button");
> OpenRos.addActionListener(e -> {
> dlg.dispose();
> });
> buildConstrantsGeneric(OptionsContainer, OpenRos, 0, 0, 
> 33);
> buildConstrantsGeneric(OptionsContainer, ExecSearch, 0, 1, 
> 33);
> buildConstrantsGeneric(OptionsContainer, CmdCancel, 0, 2, 
> 34);
> dlg.add(BorderLayout.NORTH, ContainerDataBaseContainer);
> dlg.add(BorderLayout.SOUTH, OptionsContainer);
> } catch (Exception e) {
> e.printStackTrace();
> }
> dlg.show(0, 0, 0, 0);
>
> public static TableLayout.Constraint buildConstrantsGeneric(Container 
> CTR, Component comp, int row, int col, int widthPercent) {
> TableLayout.Constraint ConSt = ((TableLayout) 
> CTR.getLayout()).createConstraint(row, col);
> ConSt.setWidthPercentage(widthPercent);
> CTR.addComponent(ConSt, comp);
> return ConSt;
> }
>
> 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/b30ec227-ae0e-44e3-928f-508278339898%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Display.getInstance().execute on android causes OS to suspend my app

2019-02-17 Thread shop . service . assistant
Thanks.

On Saturday, February 16, 2019 at 11:26:50 AM UTC-5, 
shop.servic...@gmail.com 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 Android 7 & 8.1
>
> My app uses Display.getInstance().execute(file system path to PDF doc)
>
> On Android, my app receives a suspend signal from the OS until I close the 
> PDF reader app.
> Once the PDF reader app is closed, my app receives a start()
>
> This does not occur on IOS, 
>
> Curious, Is there a method that my app can envoke another process and not 
> suspend my app?
>
> Thoughts?
>

-- 
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/088b4db2-abe0-4a3a-9323-0c60d46c2e1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Display.getInstance().execute on android causes OS to suspend my app

2019-02-16 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 Android 7 & 8.1

My app uses Display.getInstance().execute(file system path to PDF doc)

On Android, my app receives a suspend signal from the OS until I close the 
PDF reader app.
Once the PDF reader app is closed, my app receives a start()

This does not occur on IOS, 

Curious, Is there a method that my app can envoke another process and not 
suspend my app?

Thoughts?

-- 
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/2849f0aa-6762-4323-addc-42078ad79ff0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Seems to be bug in Picker class (getSelectedString())

2019-02-15 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

getting:
java.lang.ClassCastException: java.util.Date cannot be cast to 
java.lang.String
 at com.codename1.ui.spinner.Picker.getSelectedString(Picker.java:1153)

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/cf6214a9-141e-456d-b5f0-bca1b5f166d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: recommended Tablets

2019-02-12 Thread shop . service . assistant
Thanks

On Monday, February 11, 2019 at 2:26:28 PM UTC-5, shop.servic...@gmail.com 
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 Android, IOS
>
> Being intentionally non specific.
> Curious, I have several challenges/issues with IOS where Android 7+ does 
> not exhibit.
>
>
> We prefer screen size in the 9 to 10 inch with approximate screen 
> resolutions 1600 X 2560 / 2048 X 1536
> 4GB RAM
> 32GB SSD Min
> Cellular enabled
> 4+ cores
>
> Can you please let us know your thoughts on reasonably priced Models of 
> Tablets that you are particularly in favor of using.
>
> Our Customers are Automotive shops (Dealerships etc.)
>
> Thanks in advance.
> 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/ae399c23-9823-459e-859a-c32fbb53339a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: get bytes from Image and back complete code example

2019-02-12 Thread shop . service . assistant
Thanks.

On Monday, February 11, 2019 at 10:04:58 PM UTC-5, shop.servic...@gmail.com 
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
> Simulator Latest
> Device PS, Android, IOS
>
> Can you please provide complete code listing where we get bytes from Image 
> (which I store in DB)
> The convert those bytes to Image
>
> I have these methods:
> public byte[] getBytesFromImage(com.codename1.ui.Image image) {
> ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
> byte[] BytesFromImage = new byte[0];
> try {
> if (image != null) {
> ImageIO.getImageIO().save(image, outputStream, 
> ImageIO.FORMAT_PNG, 1f);
> BytesFromImage = outputStream.toByteArray();
> }
> } catch (Exception e) {
> e.printStackTrace();
> MyLog.e(e);
> }
> return BytesFromImage;
> }
>
>
> public Image getImageFromBytes(byte[] img) {
> Image image = null;
> try {
> int width = 978;
> int height = 550;
> image = Image.createImage(img, 0, img.length);
> if (image.getHeight() > height || image.getWidth() > width) {
> image = image.scaled(height, width);
> }
> } catch (Exception e) {
> e.printStackTrace();
> MyLog.e(e);
> }
> return image;
> }
>
>
> java.lang.IllegalArgumentException: Width (-35) and height (-20) cannot be 
> <= 0
>  at 
> java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
>  at java.awt.image.BufferedImage.(BufferedImage.java:333)
>  at 
> com.codename1.impl.javase.JavaSEPort.createTrackableBufferedImage(JavaSEPort.java:5081)
>  at 
> com.codename1.impl.javase.JavaSEPort.createTrackableBufferedImage(JavaSEPort.java:5064)
>  at com.codename1.impl.javase.JavaSEPort.createImage(JavaSEPort.java:5089)
>  at com.codename1.impl.javase.JavaSEPort.scale(JavaSEPort.java:5277)
>  at com.codename1.ui.Image.scale(Image.java:1021)
>  at com.codename1.ui.Image.scaledImpl(Image.java:967)
>  at com.codename1.ui.Image.scaled(Image.java:932)
>  at com.codename1.ui.Image.scaledSmallerRatio(Image.java:898)
>  at 
> com.codename1.components.SignatureComponent.setSignatureImage(SignatureComponent.java:261)
>
>
> Please Advise:
>
> 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/e581a84c-7f31-4e40-b822-53b577a20a35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] get bytes from Image and back complete code example

2019-02-11 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
Simulator Latest
Device PS, Android, IOS

Can you please provide complete code listing where we get bytes from Image 
(which I store in DB)
The convert those bytes to Image

I have these methods:
public byte[] getBytesFromImage(com.codename1.ui.Image image) {
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
byte[] BytesFromImage = new byte[0];
try {
if (image != null) {
ImageIO.getImageIO().save(image, outputStream, 
ImageIO.FORMAT_PNG, 1f);
BytesFromImage = outputStream.toByteArray();
}
} catch (Exception e) {
e.printStackTrace();
MyLog.e(e);
}
return BytesFromImage;
}


public Image getImageFromBytes(byte[] img) {
Image image = null;
try {
int width = 978;
int height = 550;
image = Image.createImage(img, 0, img.length);
if (image.getHeight() > height || image.getWidth() > width) {
image = image.scaled(height, width);
}
} catch (Exception e) {
e.printStackTrace();
MyLog.e(e);
}
return image;
}


java.lang.IllegalArgumentException: Width (-35) and height (-20) cannot be 
<= 0
 at 
java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
 at java.awt.image.BufferedImage.(BufferedImage.java:333)
 at 
com.codename1.impl.javase.JavaSEPort.createTrackableBufferedImage(JavaSEPort.java:5081)
 at 
com.codename1.impl.javase.JavaSEPort.createTrackableBufferedImage(JavaSEPort.java:5064)
 at com.codename1.impl.javase.JavaSEPort.createImage(JavaSEPort.java:5089)
 at com.codename1.impl.javase.JavaSEPort.scale(JavaSEPort.java:5277)
 at com.codename1.ui.Image.scale(Image.java:1021)
 at com.codename1.ui.Image.scaledImpl(Image.java:967)
 at com.codename1.ui.Image.scaled(Image.java:932)
 at com.codename1.ui.Image.scaledSmallerRatio(Image.java:898)
 at 
com.codename1.components.SignatureComponent.setSignatureImage(SignatureComponent.java:261)


Please Advise:

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/1b8f0ff7-e9fd-4e85-a40a-805676714d0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] recommended Tablets

2019-02-11 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 Android, IOS

Being intentionally non specific.
Curious, I have several challenges/issues with IOS where Android 7+ does 
not exhibit.


We prefer screen size in the 9 to 10 inch with approximate screen 
resolutions 1600 X 2560 / 2048 X 1536
4GB RAM
32GB SSD Min
Cellular enabled
4+ cores

Can you please let us know your thoughts on reasonably priced Models of 
Tablets that you are particularly in favor of using.

Our Customers are Automotive shops (Dealerships etc.)

Thanks in advance.
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/cf7d124f-ea84-49c3-ab10-5a22fcaa0ba8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: documentation for all possible build hints (Codenameone properties)

2019-02-06 Thread shop . service . assistant
Thanks

On Tuesday, February 5, 2019 at 1:12:36 PM UTC-5, shop.servic...@gmail.com 
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 Android and IOS
>
> Can you please point me in the direction to where all possible build hints 
> are described?
>
> 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/4ed8de90-75a2-42cd-8000-78efe1179cf9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] build hints to improve IOS sockets data reading

2019-02-05 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 IOS, iPhone 8+, Ipad II IOS 12.1.1

Generally speaking when My Server sends Images larger than ~ iMB, IOS times 
out and I get 
java.net.SocketException: Connection reset by peer: socket write error on 
The Server

I am using:

public static int MPI_BUFFER_SIZE = 65536;
public static int socketTimeOut = 3;
Socket mySocket = new ca.weblite.codename1.net.Socket(host, port, 
socketTimeOut);
mySocket.setReceiveBufferSize(MPI_BUFFER_SIZE);

I am old school and have been working with sockets for 30 years and wonder 
if you have any suggested reasonable synchrounous client/server comms that 
work well in the mobile world.

BTW. The current Socket implementation works well for me with this 
exception on IOS.

Thoughts?

-- 
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/89cb9a0a-e77d-47fb-b472-fd4086aa263e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] documentation for all possible build hints (Codenameone properties)

2019-02-05 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 Android and IOS

Can you please point me in the direction to where all possible build hints 
are described?

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/fa307b1f-db0d-43f4-b385-3577c7dae246%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Is there an equivilent of Button.doClick() from Swing in codename1?

2019-02-04 Thread shop . service . assistant
Thank You.

On Saturday, February 2, 2019 at 1:57:48 PM UTC-5, shop.servic...@gmail.com 
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 ALL
>
> Is it possible to force an action event on a Button from another 
> components event?
>
> 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/0816e195-d3a5-4539-b11b-aad612374eda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] ios.project_type iphone and ipad

2019-02-03 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 IOS

Is it possible to generate a build that will adapt to iPad and iPhone 7+ ?

I have tried setting ios.project_type to iPhone and works great on iPhone, 
and as suggested in other blogs, scales down when run in iPad.

Thoughts?

-- 
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/982fd521-6c16-4745-a484-5c9d91dae1a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Is there an equivilent of Button.doClick() from Swing in codename1?

2019-02-02 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 ALL

Is it possible to force an action event on a Button from another components 
event?

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/1a1c8173-ae44-479f-b1fb-24b8d0398b0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] scrollRectToVisible Table component not behaving

2019-01-27 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

Have a simple table that a Button Action Event calls the following code.

Rectangle rect = table.getSelectedRect();
table.scrollRectToVisible(rect.getX(), 
rect.getY(), rect.getWidth(), rect.getHeight(), this);

The Table contains 60+ rows.

Scroll Down and click to select row say 60
Then click the Button to force a scroll and the Page scrolls to the top 
where 1/2 the top page is blank

See attached pic

In general, I use scrollRectToVisible when the user adds a new row in a 
large list, we want to scroll to the bottom for example.

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/f4dba420-082a-49d5-9332-fd0e060f3236%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: com.codename1.ui.table.Table scroll behaviour issue

2019-01-27 Thread shop . service . assistant
Thanks, I'm not pushing you to make any changes more over just to make sure 
I am not overlooking another package that may exist that will be more 
feature rich.
I appreciate your support and do not want to jeopardize same.

>From what I have read, the TableLayout 
 
class is fixed in size and can not be altered (add/delete rows dynamically) 
like Table can.

If this is the case, I think it best for us to continue to work with Table.

Thanks for all your support.

Regards.

On Saturday, January 26, 2019 at 11:17:10 PM UTC-5, Shai Almog wrote:
>
> JTable is pretty frustrating too... Unlike table you have more state than 
> the renderers/editors mess. 
> You can use the TableLayout directly if you prefer. 
> I think this is pretty doable in table with the current feature set I just 
> don't have the time right now to do that.
>

-- 
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/48f89210-ae22-49a4-9486-15c25b69684b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: com.codename1.ui.table.Table scroll behaviour issue

2019-01-26 Thread shop . service . assistant
The more I work with the com.codename1.ui.table.Table and add complexities, 
the more it frustrates me.

Is there a better solution in codename1 dealing with tables that are 
renderable and feature rich?

Regards

On Saturday, January 26, 2019 at 8:05:11 AM UTC-5, shop.servic...@gmail.com 
wrote:
>
> I can appreciate that.
>
> com.codename1.ui.table.Table is very useful to us as we use JTables in 
> Swing frequently.
> Our product suite is based in pure java RMI server / clients Swing GUI's 
> and many classes are ported to mobile devices.
> We have accomplished much on the Swing side, it's very cost effective not 
> to have to reinvent the wheel.
>
> Are there any other codename1 alternatives that provide features like 
> renderers and row highlighting inherent in Swing?
>
> Regards
>
> On Saturday, January 26, 2019 at 12:41:25 AM UTC-5, Shai Almog wrote:
>>
>> That was a mistake. I didn't see it in the test case since there was no 
>> scrolling. I guess the fix would be to keep a single listener for the 
>> entire row and update the selected state on the component.
>> E.g. 
>>
>> Map rowListeners;
>>
>>
>> Then bind the listener for a specific row or create it. This solution 
>> will also need to keep the currently selected components so we can remove 
>> the selection from them. It's a bit of a hassle so it's not something I can 
>> whip up quickly right now.
>>
>

-- 
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/ce744b48-1a70-40ec-88d3-6d48d2c366c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: com.codename1.ui.table.Table scroll behaviour issue

2019-01-26 Thread shop . service . assistant
I can appreciate that.

com.codename1.ui.table.Table is very useful to us as we use JTables in 
Swing frequently.
Our product suite is based in pure java RMI server / clients Swing GUI's 
and many classes are ported to mobile devices.
We have accomplished much on the Swing side, it's very cost effective not 
to have to reinvent the wheel.

Are there any other codename1 alternatives that provide features like 
renderers and row highlighting inherent in Swing?

Regards

On Saturday, January 26, 2019 at 12:41:25 AM UTC-5, Shai Almog wrote:
>
> That was a mistake. I didn't see it in the test case since there was no 
> scrolling. I guess the fix would be to keep a single listener for the 
> entire row and update the selected state on the component.
> E.g. 
>
> Map rowListeners;
>
>
> Then bind the listener for a specific row or create it. This solution will 
> also need to keep the currently selected components so we can remove the 
> selection from them. It's a bit of a hassle so it's not something I can 
> whip up quickly right now.
>

-- 
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/4cf9cbe3-72c0-4af1-83fd-9fbb82b80e3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: com.codename1.ui.table.Table scroll behaviour issue

2019-01-25 Thread shop . service . assistant
Attached is the requirement example I have in rendering a Table

Table contains one of n Estimate Groups, The 2 highlighted rows in the 
attachment are a summary of the Parts / Labor that make up a Group

When we click on a column, we highlight only that column, however when we 
make changes to the table such as add a new group or group entry, we have 
to render the table to highlight the changes in the Group summaries as 
shown in the attached image.

Regards.

On Friday, January 25, 2019 at 9:04:39 AM UTC-5, shop.servic...@gmail.com 
wrote:
>
> This method was taken from your answer to how to highlight a selected row.
>
> https://stackoverflow.com/questions/42303713/how-can-i-select-and-hightlight-a-row-in-a-table-in-codename-one
>
> Ultimate goal is to efficiently highlight a selected row
>
> Regards.
>
> On Thursday, January 24, 2019 at 10:31:02 PM UTC-5, Shai Almog wrote:
>>
>> It's because you invoke setModel() which causes the table to effectively 
>> rebuild from scratch. You should instead update the cell/row not rebuild 
>> the entire table.
>>
>

-- 
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/c82d1165-a3a6-4394-bb39-61d0a567bf09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: com.codename1.ui.table.Table scroll behaviour issue

2019-01-25 Thread shop . service . assistant
This method was taken from your answer to how to highlight a selected row.
https://stackoverflow.com/questions/42303713/how-can-i-select-and-hightlight-a-row-in-a-table-in-codename-one

Ultimate goal is to efficiently highlight a selected row

Regards.

On Thursday, January 24, 2019 at 10:31:02 PM UTC-5, Shai Almog wrote:
>
> It's because you invoke setModel() which causes the table to effectively 
> rebuild from scratch. You should instead update the cell/row not rebuild 
> the entire table.
>

-- 
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/c6227ff9-eb0e-4fc2-853e-344126f6b25e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Table getSelectedRow returns -1 if Table is not in focus

2019-01-24 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 have a com.codename1.ui.table.Table and a separate Button container with 
Add Row.
I ask the user if They want the insertion to be at current location of at 
end of table.
However when The form focus turns to the Dialog, getSelectedRow returns -1 
as indicated in the Table.getSelectedRow  method.

Is this intended?
Should I be relying on an external int to keep track of the selected row?

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/f715823d-8a9c-43b8-baa7-d9c73247ed17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: com.codename1.ui.table.Table scroll behaviour issue

2019-01-24 Thread shop . service . assistant
Sorry, An Oversight from a cut and paste.

hi.setScrollableY(false);

With only Table table.setScrollableY(true); being scrollable,
swipe down to the bottom and tap the Row 2 or 3 or 4 cells and you will see 
the table scrolls to the top every time.

Regards.

On Wednesday, January 23, 2019 at 7:41:40 PM UTC-5, 
shop.servic...@gmail.com wrote:
>
> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA
> Desktop OS
> Simulator 
> Device PC, Android, IOS
>
> Sorry for the Table Population Hack,
>
> I am expecting to edit column 0 and when I click/Press on a row that 
> exists within the non scrolled region all is well.
> Scroll down then click/press a cell to edit (casted as TextField) and the 
> Table scrolls back to top.
> As soon as The Table scrolls back to top, the cell I pressed and was going 
> to edit, looses focus and of course would execute an actionEvent (Not Shown 
> Here)
>
> How do I prevent the scrolling back to top when I press a cell in this 
> case?
>
> Thanks In Advance!
>
>
> Form hi = new Form("Table", new BorderLayout());
> hi.setScrollableY(true);
> Container header = new Container(new 
> BoxLayout(BoxLayout.Y_AXIS));
> TableModel modelHeader = new DefaultTableModel(new 
> String[]{"Complaint", "Hours", "Dollars"}, new Object[][]{
>  
>  
> ,}) {
> public boolean isCellEditable(int row, int col) {
> return col != 0;
> }
> };
> Table table1 = new Table(modelHeader) {
> @Override
> protected TableLayout.Constraint 
> createCellConstraint(Object value, int row, int column) {
> TableLayout.Constraint con = 
> super.createCellConstraint(value, row, column);
> if (row == 1 && column == 1) {
> con.setHorizontalSpan(2);
> }
> con.setWidthPercentage(33);
> return con;
> }
> };
> header.addComponent(table1);
> int RowNum = 1;
> TableModel model = new DefaultTableModel(new String[]{"", "", 
> ""}, new Object[][]{
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + (RowNum++), "Row A", "Row X"},
> {"Row " + 

[codenameone-discussions] com.codename1.ui.table.Table scroll behaviour issue

2019-01-23 Thread shop . service . assistant
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator 
Device PC, Android, IOS

Sorry for the Table Population Hack,

I am expecting to edit column 0 and when I click/Press on a row that exists 
within the non scrolled region all is well.
Scroll down then click/press a cell to edit (casted as TextField) and the 
Table scrolls back to top.
As soon as The Table scrolls back to top, the cell I pressed and was going 
to edit, looses focus and of course would execute an actionEvent (Not Shown 
Here)

How do I prevent the scrolling back to top when I press a cell in this case?

Thanks In Advance!


Form hi = new Form("Table", new BorderLayout());
hi.setScrollableY(true);
Container header = new Container(new 
BoxLayout(BoxLayout.Y_AXIS));
TableModel modelHeader = new DefaultTableModel(new 
String[]{"Complaint", "Hours", "Dollars"}, new Object[][]{
 
 
,}) {
public boolean isCellEditable(int row, int col) {
return col != 0;
}
};
Table table1 = new Table(modelHeader) {
@Override
protected TableLayout.Constraint 
createCellConstraint(Object value, int row, int column) {
TableLayout.Constraint con = 
super.createCellConstraint(value, row, column);
if (row == 1 && column == 1) {
con.setHorizontalSpan(2);
}
con.setWidthPercentage(33);
return con;
}
};
header.addComponent(table1);
int RowNum = 1;
TableModel model = new DefaultTableModel(new String[]{"", "", 
""}, new Object[][]{
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},
{"Row " + (RowNum++), "Row A", "Row X"},

[codenameone-discussions] Re: Picker Transparency on IOS 12.1.1

2019-01-19 Thread shop . service . assistant
Thanks.

That Worked.

However curious why IOS behaves this way.
Is IOS Expecting me to disable the parent on a Picker Event?



On Friday, January 18, 2019 at 10:21:37 AM UTC-5, shop.servic...@gmail.com 
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 IPAD MR7G2LL/A
>
> While Picker is visible, pressing the OK button on top causes the 
> TextField in parent component to go into edit mode and a keyboard pops up.
> However the Picker component is still visible.
>
> See attached Screen Shot
>
> Thoughts?
>

-- 
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/63a2cc60-abc9-4055-8b61-5965103c9720%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: setPreferredSize deprecated, however w/o size intervention the Dialog is 25% of the screen

2019-01-19 Thread shop . service . assistant
Thanks

On Friday, January 18, 2019 at 11:42:40 AM UTC-5, shop.servic...@gmail.com 
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
>
> Dialog dlg = new Dialog("Select Service Job");
> dlg.setPreferredSize(new 
> Dimension(Display.getInstance().getDisplayHeight(), 
> Display.getInstance().getDisplayWidth()));
> dlg.setUIID("Dialog");
>
> Is there an acceptable alternative to force a Dialog to consume the full 
> screen?
>
> Thanks in Advance.
>
>

-- 
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/0ff7be44-0d01-4de5-9747-e5687b5c7538%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Swing JTabbedPane look and feel

2019-01-19 Thread shop . service . assistant
Thanks

On Friday, January 18, 2019 at 11:48:36 AM UTC-5, shop.servic...@gmail.com 
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
>
> Is it possible to render a TAB as in Javax.swing.JTabbedPane?
>
> Please see attached pic. (Note the horizontal spacing between tabs and the 
> slightly rounded corners)
>
> Thoughts?
>

-- 
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/627a9045-6d26-4fdf-8832-096a63e3eaa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Swing JTabbedPane look and feel

2019-01-18 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

Is it possible to render a TAB as in Javax.swing.JTabbedPane?

Please see attached pic. (Note the horizontal spacing between tabs and the 
slightly rounded corners)

Thoughts?

-- 
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/aab5e67a-1379-4fa1-bba1-b45e8e9d0d4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   >