You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Mark Wade <ma...@optonline.net> on 2018/01/12 21:31:29 UTC

dev build not rendering GUI properly

Hey Everyone again,

So I had mentioned yesterday I built the sources at 
https://github.com/apache/incubator-netbeans.git. Today I created a Java 
application consisting of a frame, a panel, and a button. It displays in 
preview properly but when run the button is tiny, presumably because its 
label isn't rendering. If I open this project in NB 8.2 the behavior is 
the same. If I edit the GUI in 8.2, even trivially,  then it displays 
properly when run even when reopened and run in the NB I built. As soon 
as I edit the GUI again in my built version the button labels are gone 
again, also in 8.2. I haven't gotten any farther than that yet. I 
haven't tried any other GUI components yet.


-- Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: dev build not rendering GUI properly

Posted by Neil C Smith <ne...@apache.org>.
On Sat, 13 Jan 2018 at 11:05 Mark Wade <ma...@optonline.net> wrote:

> > So if I understand you correctly, the dev builds are "corrupting" form
> > files (and version 8.2 works fine). Is that correct?
> Yes, for me here. I built the sources on the same machine using Ubuntu
> 14.04 but I'm just seeing now the requirements listed at
> https://github.com/apache/incubator-netbeans call for ant 1.9.9 or
> above. I have 1.9.3 installed. I will try upgrading ant and recompiling
> this evening and see if that makes any difference but since the build
> succeeded I'm skeptical that is the cause, maybe.
>

Might be worth checking, but IIRC ant 1.9.9 fixes an issue that was only
introduced in 1.9.8, so the build does complete with some earlier ant
versions.

Best wishes,

Neil


-- 
Neil C Smith
Artist & Technologist
www.neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org

Re: dev build not rendering GUI properly

Posted by Mark Wade <ma...@optonline.net>.
Just a wee update: I copied the dev build over to windows 7 and had the 
same behavior. I don't know if that is a valid test though. Is this 
behavior a result of building the sources on my Ubuntu 14.04 install and 
then is carried over to windows or should I have recompiled on windows?

I guess there's only one way to find out but I barely use windows, ant 
isn't in my path, must be installed though because NetBeans needs it, 
yes? I have some time on my hands later, I'll see.


On 01/14/2018 11:35 AM, Mark Wade wrote:
> Okay, I've installed ant 1.9.9 and recompiled and still the same thing 
> going on with the build seemingly corrupting, for lack of a better 
> word, the .form file so I'll file an issue I guess.
>
> That would be done here?
>
> https://issues.apache.org/jira/projects/NETBEANS/summary
>
> I'll have to create an account I see. Okay.
>
>
> On 01/13/2018 06:05 AM, Mark Wade wrote:
>> the requirements listed at 
>> https://github.com/apache/incubator-netbeans call for ant 1.9.9 or 
>> above. I have 1.9.3 installed. I will try upgrading ant and 
>> recompiling this evening and see if that makes any difference but 
>> since the build succeeded I'm skeptical that is the cause, maybe. 
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: dev build not rendering GUI properly

Posted by Mark Wade <ma...@optonline.net>.
Okay, I've installed ant 1.9.9 and recompiled and still the same thing 
going on with the build seemingly corrupting, for lack of a better word, 
the .form file so I'll file an issue I guess.

That would be done here?

https://issues.apache.org/jira/projects/NETBEANS/summary

I'll have to create an account I see. Okay.


On 01/13/2018 06:05 AM, Mark Wade wrote:
> the requirements listed at 
> https://github.com/apache/incubator-netbeans call for ant 1.9.9 or 
> above. I have 1.9.3 installed. I will try upgrading ant and 
> recompiling this evening and see if that makes any difference but 
> since the build succeeded I'm skeptical that is the cause, maybe. 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: dev build not rendering GUI properly

Posted by Mark Wade <ma...@optonline.net>.
> So if I understand you correctly, the dev builds are "corrupting" form 
> files (and version 8.2 works fine). Is that correct?
Yes, for me here. I built the sources on the same machine using Ubuntu 
14.04 but I'm just seeing now the requirements listed at 
https://github.com/apache/incubator-netbeans call for ant 1.9.9 or 
above. I have 1.9.3 installed. I will try upgrading ant and recompiling 
this evening and see if that makes any difference but since the build 
succeeded I'm skeptical that is the cause, maybe.


On 01/12/2018 09:58 PM, cowwoc wrote:
> So if I understand you correctly, the dev builds are "corrupting" form 
> files (and version 8.2 works fine). Is that correct?
>
> Gili
>
> On 2018-01-12 9:28 PM, Mark Wade wrote:
>> It isn't so much that it happens in 8.2 also but that once the dev 
>> build edits the frame.form file, whether it was created with 8.2 or 
>> the dev build then running the project from 8.2 or the dev build will 
>> fail to render fonts in buttons or labels.  Both designers will 
>> render properly and preview properly but the app will not render the 
>> widgets properly when run.
>>
>> All I need to do is make any slight edit to the GUI with 8.2 and it 
>> will run properly from both. The edit can be trivial; adding a label 
>> or button, deleting a label or button or just add a letter to a 
>> label, maybe even a resize, haven't tried yet, I think just touching 
>> it with 8.2 will do it and the opposite is true for the dev build.
>>
>> There are subtle differences in the frame.form file after editing 
>> with each install but nothing that jumped out at me, though not that 
>> familiar with them. I will look further.
>>
>>> And, so that someone can reproduce it, can you provide an issue and 
>>> steps?
>> I can, though I never have. I'll try to do that over this weekend.
>>
>> In the meantime, this is on Ubuntu 14.04.  The about dialog from 8.2 
>> displays:
>>
>> Product Version: NetBeans IDE 8.2 (Build 201705191307)
>> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
>> Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14
>> Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14
>> System: Linux version 3.13.0-139-generic running on amd64; UTF-8; 
>> en_US (nb)
>> User directory: /home/markw/.netbeans/8.2
>> Cache directory: /home/markw/.cache/netbeans/8.2
>>
>> The about dialog from the dev build displays:
>>
>> Product Version: Apache NetBeans IDE Dev (Build 20180111-unknown-revn)
>> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
>> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
>> System: Linux version 3.13.0-139-generic running on amd64; UTF-8; 
>> en_US (nb)
>> User directory: /home/markw/.netbeans/dev
>> Cache directory: /home/markw/.cache/netbeans/dev
>>
>>
>> On 01/12/2018 04:38 PM, Geertjan Wielenga wrote:
>>> So, this happens in 8.2 too?
>>>
>>> And, so that someone can reproduce it, can you provide an issue and 
>>> steps?
>>>
>>> Thanks,
>>>
>>> Gj
>>>
>>> On Fri, Jan 12, 2018 at 10:31 PM, Mark Wade <ma...@optonline.net> 
>>> wrote:
>>>> Hey Everyone again,
>>>>
>>>> So I had mentioned yesterday I built the sources at
>>>> https://github.com/apache/incubator-netbeans.git. Today I created a 
>>>> Java
>>>> application consisting of a frame, a panel, and a button. It 
>>>> displays in
>>>> preview properly but when run the button is tiny, presumably 
>>>> because its
>>>> label isn't rendering. If I open this project in NB 8.2 the 
>>>> behavior is the
>>>> same. If I edit the GUI in 8.2, even trivially,  then it displays 
>>>> properly
>>>> when run even when reopened and run in the NB I built. As soon as I 
>>>> edit the
>>>> GUI again in my built version the button labels are gone again, 
>>>> also in 8.2.
>>>> I haven't gotten any farther than that yet. I haven't tried any 
>>>> other GUI
>>>> components yet.
>>>>
>>>>
>>>> -- Mark
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>>
>>>> For further information about the NetBeans mailing lists, visit:
>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: dev build not rendering GUI properly

Posted by cowwoc <co...@bbs.darktech.org>.
So if I understand you correctly, the dev builds are "corrupting" form 
files (and version 8.2 works fine). Is that correct?

Gili

On 2018-01-12 9:28 PM, Mark Wade wrote:
> It isn't so much that it happens in 8.2 also but that once the dev 
> build edits the frame.form file, whether it was created with 8.2 or 
> the dev build then running the project from 8.2 or the dev build will 
> fail to render fonts in buttons or labels.  Both designers will render 
> properly and preview properly but the app will not render the widgets 
> properly when run.
>
> All I need to do is make any slight edit to the GUI with 8.2 and it 
> will run properly from both. The edit can be trivial; adding a label 
> or button, deleting a label or button or just add a letter to a label, 
> maybe even a resize, haven't tried yet, I think just touching it with 
> 8.2 will do it and the opposite is true for the dev build.
>
> There are subtle differences in the frame.form file after editing with 
> each install but nothing that jumped out at me, though not that 
> familiar with them. I will look further.
>
>> And, so that someone can reproduce it, can you provide an issue and 
>> steps?
> I can, though I never have. I'll try to do that over this weekend.
>
> In the meantime, this is on Ubuntu 14.04.  The about dialog from 8.2 
> displays:
>
> Product Version: NetBeans IDE 8.2 (Build 201705191307)
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14
> Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14
> System: Linux version 3.13.0-139-generic running on amd64; UTF-8; 
> en_US (nb)
> User directory: /home/markw/.netbeans/8.2
> Cache directory: /home/markw/.cache/netbeans/8.2
>
> The about dialog from the dev build displays:
>
> Product Version: Apache NetBeans IDE Dev (Build 20180111-unknown-revn)
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Linux version 3.13.0-139-generic running on amd64; UTF-8; 
> en_US (nb)
> User directory: /home/markw/.netbeans/dev
> Cache directory: /home/markw/.cache/netbeans/dev
>
>
> On 01/12/2018 04:38 PM, Geertjan Wielenga wrote:
>> So, this happens in 8.2 too?
>>
>> And, so that someone can reproduce it, can you provide an issue and 
>> steps?
>>
>> Thanks,
>>
>> Gj
>>
>> On Fri, Jan 12, 2018 at 10:31 PM, Mark Wade <ma...@optonline.net> 
>> wrote:
>>> Hey Everyone again,
>>>
>>> So I had mentioned yesterday I built the sources at
>>> https://github.com/apache/incubator-netbeans.git. Today I created a 
>>> Java
>>> application consisting of a frame, a panel, and a button. It 
>>> displays in
>>> preview properly but when run the button is tiny, presumably because 
>>> its
>>> label isn't rendering. If I open this project in NB 8.2 the behavior 
>>> is the
>>> same. If I edit the GUI in 8.2, even trivially,  then it displays 
>>> properly
>>> when run even when reopened and run in the NB I built. As soon as I 
>>> edit the
>>> GUI again in my built version the button labels are gone again, also 
>>> in 8.2.
>>> I haven't gotten any farther than that yet. I haven't tried any 
>>> other GUI
>>> components yet.
>>>
>>>
>>> -- Mark
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: dev build not rendering GUI properly

Posted by Mark Wade <ma...@optonline.net>.
It isn't so much that it happens in 8.2 also but that once the dev build 
edits the frame.form file, whether it was created with 8.2 or the dev 
build then running the project from 8.2 or the dev build will fail to 
render fonts in buttons or labels.  Both designers will render properly 
and preview properly but the app will not render the widgets properly 
when run.

All I need to do is make any slight edit to the GUI with 8.2 and it will 
run properly from both. The edit can be trivial; adding a label or 
button, deleting a label or button or just add a letter to a label, 
maybe even a resize, haven't tried yet, I think just touching it with 
8.2 will do it and the opposite is true for the dev build.

There are subtle differences in the frame.form file after editing with 
each install but nothing that jumped out at me, though not that familiar 
with them. I will look further.

> And, so that someone can reproduce it, can you provide an issue and steps?
I can, though I never have. I'll try to do that over this weekend.

In the meantime, this is on Ubuntu 14.04.  The about dialog from 8.2 
displays:

Product Version: NetBeans IDE 8.2 (Build 201705191307)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14
System: Linux version 3.13.0-139-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/markw/.netbeans/8.2
Cache directory: /home/markw/.cache/netbeans/8.2

The about dialog from the dev build displays:

Product Version: Apache NetBeans IDE Dev (Build 20180111-unknown-revn)
Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
Runtime: Java(TM) SE Runtime Environment 9.0.1+11
System: Linux version 3.13.0-139-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/markw/.netbeans/dev
Cache directory: /home/markw/.cache/netbeans/dev


On 01/12/2018 04:38 PM, Geertjan Wielenga wrote:
> So, this happens in 8.2 too?
>
> And, so that someone can reproduce it, can you provide an issue and steps?
>
> Thanks,
>
> Gj
>
> On Fri, Jan 12, 2018 at 10:31 PM, Mark Wade <ma...@optonline.net> wrote:
>> Hey Everyone again,
>>
>> So I had mentioned yesterday I built the sources at
>> https://github.com/apache/incubator-netbeans.git. Today I created a Java
>> application consisting of a frame, a panel, and a button. It displays in
>> preview properly but when run the button is tiny, presumably because its
>> label isn't rendering. If I open this project in NB 8.2 the behavior is the
>> same. If I edit the GUI in 8.2, even trivially,  then it displays properly
>> when run even when reopened and run in the NB I built. As soon as I edit the
>> GUI again in my built version the button labels are gone again, also in 8.2.
>> I haven't gotten any farther than that yet. I haven't tried any other GUI
>> components yet.
>>
>>
>> -- Mark
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: dev build not rendering GUI properly

Posted by Geertjan Wielenga <ge...@googlemail.com>.
So, this happens in 8.2 too?

And, so that someone can reproduce it, can you provide an issue and steps?

Thanks,

Gj

On Fri, Jan 12, 2018 at 10:31 PM, Mark Wade <ma...@optonline.net> wrote:
> Hey Everyone again,
>
> So I had mentioned yesterday I built the sources at
> https://github.com/apache/incubator-netbeans.git. Today I created a Java
> application consisting of a frame, a panel, and a button. It displays in
> preview properly but when run the button is tiny, presumably because its
> label isn't rendering. If I open this project in NB 8.2 the behavior is the
> same. If I edit the GUI in 8.2, even trivially,  then it displays properly
> when run even when reopened and run in the NB I built. As soon as I edit the
> GUI again in my built version the button labels are gone again, also in 8.2.
> I haven't gotten any farther than that yet. I haven't tried any other GUI
> components yet.
>
>
> -- Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists