JidePopup border and movable component customization

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

JidePopup border and movable component customization

Postby ias_rd » Tue Mar 04, 2014 8:39 am

Hi there,

I am trying to remove jidepopup border and change background color movable component.
How can i do that ?

Thanks
ias_rd
 
Posts: 115
Joined: Mon Nov 01, 2010 1:00 am

Re: JidePopup border and movable component customization

Postby JIDE Support » Tue Mar 04, 2014 10:24 am

Please invoke JidePopup#setPopupBorder() to set the border of a popup. Can you please clarify a little bit more about "movable component"?

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: JidePopup border and movable component customization

Postby ias_rd » Wed Mar 05, 2014 12:47 am

Thank you for your quick response,

I meant in the top of the popup component. As you can see in the image which i uploaded.

Thanks
Attachments
jidepopup.jpg
jidepopup.jpg (22.02 KiB) Viewed 24126 times
ias_rd
 
Posts: 115
Joined: Mon Nov 01, 2010 1:00 am

Re: JidePopup border and movable component customization

Postby JIDE Support » Wed Mar 05, 2014 9:36 am

That's a Gripper component. You refer to https://github.com/jidesoft/jide-oss/bl ... perUI.java source code to find out the details. The paintBackground method is the one that paints the background. You can override it.
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: JidePopup border and movable component customization

Postby ias_rd » Thu Apr 24, 2014 1:55 am

Hi there,
I have some problems about Gripper component.

Firstly gripper doesnt look at Linux the same as at Windows. I have uploaded a picture, That's showing how it looks at each os.
At linux os gripper is creating lots of dots as you can see.

Secondly I made a customGripperUI which extended with BasicGripperUI as you sad. But I havent found any method to set my custom gripper ui to gripper component in JidePopup. How can I set my customGripperUI ?

Thanks.
Attachments
gripperProblem.png
gripper
gripperProblem.png (16.47 KiB) Viewed 24006 times
ias_rd
 
Posts: 115
Joined: Mon Nov 01, 2010 1:00 am

Re: JidePopup border and movable component customization

Postby JIDE Support » Thu Apr 24, 2014 8:15 am

It looks like the default gripper style for Metal L&F.

You don't need a UI for it. Just create a com.jidesoft.plaf.basic.Painter and set it using UIDefault "Gripper.painter".
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 10 guests

cron