# Border styles changed after upgrading Java

**URL:** <https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137>\
**Category:** Classic Servoy\
**Created:** [February 22, 2007, 8:42pm UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137 "2007-02-22T20:42:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Riccardino](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Riccardino](https://forum.servoy.com/u/Riccardino)\
**Post date:** [February 22, 2007, 8:42pm UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/1 "2007-02-22T20:42:24Z")

</div>

I noticed a different aspect on my fields after upgrading to java 1.5.0\_07 under MacOS X.

In short, the right border of every field is missing when its size is set to 0 (even with different styleclasses applied).  
The border reappears when setting it to 2 or higher.

Did anyone experienced this behaviour as well?

Servoy 3.1.3  
MacOS X.4.8  
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0\_07-164)  
Java HotSpot™ Client VM (build 1.5.0\_07-87, mixed mode, sharing)

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [February 22, 2007, 9:56pm UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/2 "2007-02-22T21:56:34Z")

</div>

Hi Ric,

Do you mean LAF borders or Line, Matte or Special Matte borders?  
There was an issue with the Special Matte border as reported by me [here](http://forum.servoy.com/viewtopic.php?t=7582).  
It was fixed in 3.1. Are you still seeing this or is it something else?

---

<div class="post-metadata">

**Author:** ![Christoph](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@Christoph](https://forum.servoy.com/u/Christoph)\
**Post date:** [February 23, 2007, 7:10am UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/3 "2007-02-23T07:10:47Z")

</div>

Hi Ric,

I noticed the same behaviour on the Mac after upgrading to Java 1.5.0\_07 (Java for Mac OS X 10.4, Release 5). So I went back to 1.5.0\_06-68.

Greetings  
Christoph

---

<div class="post-metadata">

**Author:** ![Riccardino](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Riccardino](https://forum.servoy.com/u/Riccardino)\
**Post date:** [February 23, 2007, 8:05am UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/4 "2007-02-23T08:05:11Z")

</div>

> ROCLASI:  
> Hi Ric,
> 
> Do you mean LAF borders or Line, Matte or Special Matte borders?  
> There was an issue with the Special Matte border as reported by me [here](http://forum.servoy.com/viewtopic.php?t=7582).  
> It was fixed in 3.1. Are you still seeing this or is it something else?

No, I mean normal LINE borders. One of them is not showing anymore, if size is set to 1.

---

<div class="post-metadata">

**Author:** ![Riccardino](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Riccardino](https://forum.servoy.com/u/Riccardino)\
**Post date:** [February 23, 2007, 8:09am UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/5 "2007-02-23T08:09:25Z")

</div>

> Christoph:  
> Hi Ric,
> 
> I noticed the same behaviour on the Mac after upgrading to Java 1.5.0\_07 (Java for Mac OS X 10.4, Release 5). So I went back to 1.5.0\_06-68.

Thanks, Christoph

A dummy question: to go back to 1.5.0\_06 should I download the release 4 of J2SE and install it or is there another way?

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [February 23, 2007, 10:26am UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/6 "2007-02-23T10:26:32Z")

</div>

> Riccardino:
> 
> > ROCLASI:  
> > Hi Ric,
> > 
> > Do you mean LAF borders or Line, Matte or Special Matte borders?  
> > There was an issue with the Special Matte border as reported by me [here](http://forum.servoy.com/viewtopic.php?t=7582).  
> > It was fixed in 3.1. Are you still seeing this or is it something else?
> 
> No, I mean normal LINE borders. One of them is not showing anymore, if size is set to 1.

I did some testing and it’s not the LINE, but the Special Matte that has the [same issue](http://forum.servoy.com/viewtopic.php?t=7582) again.  
See here a screenshot of a field with Line, Matte and Special Matte border.

---

<div class="post-metadata">

**Author:** ![Riccardino](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Riccardino](https://forum.servoy.com/u/Riccardino)\
**Post date:** [February 23, 2007, 10:48am UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/7 "2007-02-23T10:48:13Z")

</div>

> ROCLASI:
> 
> > Riccardino:
> > 
> > > ROCLASI:  
> > > Hi Ric,
> > > 
> > > Do you mean LAF borders or Line, Matte or Special Matte borders?  
> > > There was an issue with the Special Matte border as reported by me [here](http://forum.servoy.com/viewtopic.php?t=7582).  
> > > It was fixed in 3.1. Are you still seeing this or is it something else?
> > 
> > No, I mean normal LINE borders. One of them is not showing anymore, if size is set to 1.
> 
> I did some testing and it’s not the LINE, but the Special Matte that has the [same issue](http://forum.servoy.com/viewtopic.php?t=7582) again.  
> See here a screenshot of a field with Line, Matte and Special Matte border.

Well: yes and no.  
I mean: you’re right, but the problem is also present if you set a border property to DEFAULT and use “border-style: solid;” tag in your stylesheet.  
I thought that “solid” meant “line”, but probably it uses the Special Matte.  
Anyway, I hope it can be fixed ![;-)]( "Wink")

---

<div class="post-metadata">

**Author:** ![Christoph](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@Christoph](https://forum.servoy.com/u/Christoph)\
**Post date:** [February 23, 2007, 11:33am UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/8 "2007-02-23T11:33:14Z")

</div>

> Riccardino:  
> A dummy question: to go back to 1.5.0\_06 should I download the release 4 of J2SE and install it or is there another way?

Hi Ric,

I had to deinstall Java before I could reinstall Java release 4.  
For that I used the application DesInstaller 3.0b3 which you can download here:  
[http://krugazor.free.fr/software/desins … I3.dmg.bz2](http://krugazor.free.fr/software/desinstaller/DI3.dmg.bz2)  
Then you first have to install the Java-Package which you will find on your OS X installation CD/DVD. After that you can Install release 4.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [February 26, 2007, 9:26am UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/9 "2007-02-26T09:26:24Z")

</div>

robert: this issue: [http://forum.servoy.com/viewtopic.php?t=7582](http://forum.servoy.com/viewtopic.php?t=7582)  
is not a line or matte problem. So it doesn’t seem to be the right url.

But do you still see a problem on the mac (with a specific jdk?) with the latest servoy release (3.1.3)?

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [February 26, 2007, 10:19am UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/10 "2007-02-26T10:19:44Z")

</div>

Err, I mean [http://forum.servoy.com/viewtopic.php?t=5872](http://forum.servoy.com/viewtopic.php?t=5872)  
The only difference I see with the problem now and then is that the left border is now drawn correctly but the right border falls off the canvas.

The screenshot I made was with the following setup:  
Servoy Developer  
Version 3.1.3-build 407  
Java version 1.5.0\_07-87 (Mac OS X)

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [February 26, 2007, 11:34am UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/11 "2007-02-26T11:34:23Z")

</div>

This seems to be a new issue with 2d drawing with this java release on the mac.  
We have created a workaround in servoy 3.1.4.

Rob

---

<div class="post-metadata">

**Author:** ![Riccardino](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Riccardino](https://forum.servoy.com/u/Riccardino)\
**Post date:** [February 26, 2007, 1:09pm UTC](https://forum.servoy.com/t/border-styles-changed-after-upgrading-java/7137/12 "2007-02-26T13:09:53Z")

</div>

> Christoph:
> 
> > Riccardino:  
> > A dummy question: to go back to 1.5.0\_06 should I download the release 4 of J2SE and install it or is there another way?
> 
> Hi Ric,
> 
> I had to deinstall Java before I could reinstall Java release 4.  
> For that I used the application DesInstaller 3.0b3 which you can download here:  
> [http://krugazor.free.fr/software/desins … I3.dmg.bz2](http://krugazor.free.fr/software/desinstaller/DI3.dmg.bz2)  
> Then you first have to install the Java-Package which you will find on your OS X installation CD/DVD. After that you can Install release 4.

Ow: that’s what I feared ![:-)]( "Smile")  
Thanks, Christoph: I’ll follow your advice, after a complete backup of my system…
