Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5998789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:27:22+00:00 2026-05-23T00:27:22+00:00

I’m developing a Java application with a custom UI and I’m using Java Synth

  • 0

I’m developing a Java application with a custom UI and I’m using Java Synth to achieve that. Currently I’m developing the xml file manually. Do you think this is a good way to do it, or should I use specific software for that?

Anyway, I’ve configured some components successfully, like lists. I have this piece of code in my xml regarding lists:

<style id="listStyle">
    <insets top="1" left="1" right="1" bottom="1"/>
    <state>
        <color value="#323232" type="BACKGROUND"/>
        <color value="WHITE" type="FOREGROUND"/>
        <color value="#00BAFF" type="TEXT_BACKGROUND"/>
        <color value="BLACK" type="TEXT_FOREGROUND"/>
    </state>
</style>    
<bind style="listStyle" type="region" key="LIST"/>

This is working just fine. Next, I tried to configure my scroll bars:

<style id="scrollBarStyle">
    <insets top="2" left="2" right="2" bottom="2"/>
    <state>
      <color value="BLACK" type="BACKGROUND"/>
    </state>
    <state value="MOUSE_OVER">
      <color value="BLUE" type="BACKGROUND"/>
    </state>
</style>
<bind style="scrollBarStyle" type="region" key="SCROLLBARTHUMB"/>

I think the insets are working, but when my mouse is over the scroll bar, it just stays black.

There’s also another strange thing. I have this “default style” that I apply to all regions in the first place. And the scroll bar behaves the way it is expected with the default style (mouse over included). But when I apply this particular style to the scroll bar, it stops working. And after applying this specific style, the the default region style also stops working. So the scroll bar just stays black…

Do you have any ideas why?

Any help will be greatly appreciated 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T00:27:23+00:00Added an answer on May 23, 2026 at 12:27 am

    I’m kind of a newb to this too, but my guess would be something related to the state value. If you do not specify a state value (ie. MOUSE_OVER), then it becomes the default. Other values will only be used if they are activated with none of the other state values. For instance if you specified the value for a button being moused over and then the value for the button being pressed, the value for the button being pressed would never be used because whenever it’s being pressed, obviously it’s also being moused over. I’d check to see whether or not something like this is causing the problem. I also found a thread where someone had a similar problem, but it was caused in the actual java code, not the xml. http://forums.oracle.com/forums/thread.jspa?threadID=2225033&tstart=75

    Good luck 😀 sorry I couldn’t be more help

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I have just tried to save a simple *.rtf file with some websites and
I have a French site that I want to parse, but am running into
We're building an app, our first using Rails 3, and we're having to build
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.