This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 57585 - Remove special border in New Database Connection dialog
Summary: Remove special border in New Database Connection dialog
Status: CLOSED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-07 09:52 UTC by Marian Mirilovic
Modified: 2006-03-24 12:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of New Database Connection (25.42 KB, image/png)
2005-04-07 09:52 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2005-04-07 09:52:19 UTC
NB4.1(200504062223) , JDK1.5.0_02 (fcs), Linux RH9 / Gnome

Look at attached screenshot, you can seee difference between border in "New
Database Connection" dialog and another one. Please remove this border.
Comment 1 Marian Mirilovic 2005-04-07 09:52:46 UTC
Created attachment 21444 [details]
screenshot of New Database Connection
Comment 2 Andrei Badea 2005-04-13 13:04:00 UTC
I can't reproduce on Gnome 2.8 with Metacity 2.8.8. And it seems to me the black
border is in the area drawn by the window manager. Could you please try with
another window manager theme or perhaps with a different window manager?
Comment 3 Marian Mirilovic 2005-04-13 16:30:54 UTC
Sorry, I really don't understand it.
Why this border is only on this dialog ? and it isn't in any other dialog from NB ?
Comment 4 Radko Najman 2005-04-13 17:40:29 UTC
I can't reproduce it on my system (Fedora Core 2, KDE 3.3.2). There is set no
special border in this dialog. It's an ordinary dialog displayed by
DialogDescripror (org.netbeans.modules.db.explorer.dlg.ConnectionDialog). The
only idea I've got is that this problem can be caused by using JTabbedPane in
DialogDescriptor. So what do you think? Can it be Swing problem, window system
problem or DialogDescriptor problem?
Comment 5 Andrei Badea 2005-04-13 17:57:56 UTC
The black border seems to be drawn in the window decoration. So I think (though
being far from 100% sure) this is a window manager theme problem. I will
investigate more tomorrow.
Comment 6 Andrei Badea 2005-04-18 09:13:01 UTC
Tried on Fedora Core 2 / GNOME with the Bluecurve theme. No luck.
Comment 7 zikmund 2005-05-12 18:36:00 UTC
Mariane, is it still reproducible on your machine? Do you know any lab machine
which has the same problem? Thanks.
Comment 8 Marian Mirilovic 2005-05-13 09:37:36 UTC
Still reproducible in NB4.2 (200505121800)
Comment 9 Andrei Badea 2005-10-10 12:01:05 UTC
Still can't reproduce. The black band could be caused by the non-resizable
border of the dialog, I'm investigating.
Comment 10 Andrei Badea 2005-10-10 13:49:57 UTC
Indeed caused by the non-resizable border. Fixed.

Checking in ConnectionDialog.java;
/cvs/db/src/org/netbeans/modules/db/explorer/dlg/ConnectionDialog.java,v  <-- 
ConnectionDialog.java
new revision: 1.10; previous revision: 1.9
done
Comment 11 Marian Mirilovic 2005-10-19 13:22:40 UTC
verified in NB5.0(200510190645)