How to make ScrollBar look independent from ScrollPane in JScrollPane???

I have a JScrollPane. I am trying to add border to ScrollBar so ScrollBar looks seprate from pane.
Is there anyother way to do this so ScrollBar look seprate from scrollPane?? thanks in advance!!!
thanks
amit

Please don't repost a question as a new thread when someone has taken the time to answer your identical question already. At least post in the existing thread if you need to comment or add something.
http://forum.java.sun.com/thread.jsp?forum=57&thread=159987

Similar Messages

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • How to make website look correct in Safari, Firefox, and Chrome?

    Hello there. I'm working on a website which was inherited to me by someone who died. So I am left with all of his coding which is about 4 years old. Now I'm working on positioning of the website and i've found that the only browser the website looks like it's supposed to is Safari and I can't for the life of me figure out how to make it look right in all the browsers and on a phone or tablet. It might be easier if I started from scratch but unfortunately I don't get that luxury. Please help me.
    Here's a link...MuseumOfNaturalistory.com

    I dont understand what some of these errors are asking of me. For instance, this one...
    if (xmlhttp.readyState==4 && xmlhttp.status==200)

    This message may appear in several cases:
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
    That's the way the code has to be in order to function. What does it want from me?
    And then here....
    Line 71, Column 5: an attribute value must be a literal unless it contains only name characters   </div>✉You have used a character that is not considered a "name character" in an attribute value. Which characters are considered "name characters" varies between the different document types, but a good rule of thumb is that unless the value contains only lower or upper case letters in the range a-z you must put quotation marks around the value. In fact, unless you have extreme file size requirements it is a very very good idea to always put quote marks around your attribute values. It is never wrong to do so, and very often it is absolutely necessary.
    Line 71, Column 5: character "<" is not allowed in the value of attribute "id"   </div>✉It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
    I have absolutely no clue what it is asking of me. Doesn't it have to be that way? Also why when I go to "Line 71" that isn't where this actual code is? Is there some special way to decipher this?

  • How to make screen resolution independent in BDC

    How to make screen resolution independent in BDC

    hi
    good
    You need to use the CTU_PARAM structure alon with the call transaction statment.
    **Sturcture of CTU_PARAM
    **DISMODE : Display mode (like the MODE addition 'A' , 'E', 'N')
    **UPDMODE: Update mode (like the UPDATE addition 'S', 'A')
    **DEFSIZE : Use default window size (Here we are handling those transaction by giving default window size)
    **RACOMMIT: Do not end transaction at COMMIT WORK
    **NOBINPT : No batch input mode (that is, SY-BINPT = SPACE)
    **NOBIEND : No batch input mode after the end of BDC data.
    *The components DEFSIZE , RACOMMIT, NOBINPT, and NOBIEND always take the following values:
    'X' Yes
    DATA : L_OPTION TYPE CTU_PARAMS, "Parameter string for runtime of CALL TRANSACTION
    L_SUBRC TYPE SYSUBRC.
    L_OPTION-DEFSIZE = 'X'.
    L_OPTION-DISMODE = P_MODE.
    L_OPTION-UPDMODE = 'S'.
    CALL TRANSACTION 'FK01' "FK01-Vendor master creation
    USING IT_BDCDATA
    MESSAGES INTO IT_MESSTAB
    OPTIONS FROM L_OPTION.
    thanks
    mrutyun^

  • I subscribed for itunes imatch - it works perfectly on my i-pad and iPhone - however on my macbook - my iTunes can no longer find my songs - i don't know how to make it look to the cloud to play my music

    i subscribed for itunes imatch - it works perfectly on my i-pad and iPhone - however on my macbook - my iTunes can no longer find my songs - i don't know how to make it look to the cloud to play my music - i think it keeps trying to find on the external harddrive where i used to keep my music

    Of course iTunes is looking for the music on the external HDD. Enabling iTunes Match does not magically change the location of the iTunes library to the cloud.
    To play the music either plug the external HDD back into your computer or create a new, empty library to use for streaming the iTM content. The latter can be accomplished by holding down the Option key when launching iTunes, choosing "create library" then enabling iTunes Match on the new library. DO NOT have iTunes scan your HDD for music.

  • How to make a jar file from a java file?

    how to make a jar file from a java file, is there any one tht can help me thank you;

    You can study this.
    http://java.sun.com/docs/books/tutorial/jar/basics/index.html

  • How to make a conference call from an iPhone

    How to make a conference call from an iPhone

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf user manual

  • How to make HD look like 4K

    I found this article rather interesting. If I had to try and make a silk purse out of a sow's ear, I would read this one again.
    RedShark News - How to make HD look like 4K

    I'd forgotten about RedShark in general ... thanks for the heads-up.
    And the point about the "impression" being at times more important than the reality (especially if not well handled) is well taken. Working professional stills for many years now ... I've had large prints that even at close inspection looked much cleaner, sharper, and less noisy than other photog's made who had "larger" sensors ... but did their post not as righteously as I did. How you set up & shoot the image/s in the first place matters ... as does how you handle your post & output.
    Craft matters ...  

  • How to make a ARCH package from local folder?

    hello ARCH lovers
    I can't seem to figure out how to make a installable
    package from a folder on my desktop?
    Coming from Slackware; the procedure would be simple enough just issuing
    "makepkg /root/pkgname.txz"
    Now; how would I do the same in ARCH?
    I know about PKGBUILD, etc but there is no source or any url's
    I just need to make it into a .pkg.tar.xz
    The package is my "kernel-live-kit" for both x86 and x86_64 versions of arch
    enabling one to remaster there existing install into a livecd/usb, etc
    The kernel itself is kernel26-zen from AUR
    http://aur.archlinux.org/packages.php?ID=30330
    however; mine is quite different and also includes all components to make the livecd using modified linux-live-6.3.0
    scripts and special stuff
    The pkg includes a premade kernel with modules and full kernel source
    The resulting live media is similar to my nFluxOS builds
    http://multidistro.com/
    As I will be releasing the new four horsemen of nFluxOS today; I also made 4 Kernel pkg's for the arch and slack versions
    Those will be for x86/x86_64 versions for both arch and slackware
    I did this in lieu of creating a quartet of x86_64 versions of nFluxOS; as that would up the number of versions to 8
    and I would then have to maintain 8 distro's instead of 4.
    I made a testing version of ARCH x86_64 live
    http://www.linuxquestions.org/questions … ost4017796
    so, I really need to make the ARCH x86 and x86_64 kernel kits into installable pkg's because there are many symlinks that would get corrupted if I just tarred it and then the end user untars it and copies it somewhere it would mess up the symlinks.
    as I said, in slackware I do makepkg and it creates a script named "doinst.sh" that makes all the symlinks, etc
    so, any help appreciated!
    thanks

    You can read a simple introduction to using the ABS here.
    By the way, it's not hard. Out of all the distributions I've used, Arch Linux is the only one I've figured out how to make packages for.

  • Help!! i dont know how to make use of token from string tokenizer :(

    Hi,
    I would like to ask how to manipulate the token that are taken from string tokenizer. For example :
    input = a b 1 f 986
    supposed output:
    a
    b
    1
    f
    986
    How to make the output look like this?
    Output = (a,b,f),(1,986)
    Below is the source code of Algebra.java
    import java.io.*;
    import java.util.*;
    * Read and print, using BufferedReader from System.in, onto System.out
    public class Algebra {
    public static void main(String[] av) {
    try {
    BufferedReader is = new BufferedReader(new InputStreamReader(System.in));
    String inputLine;
    System.out.print("Input =");
    while ((inputLine = is.readLine()) != null) {
    System.out.println("Output="+inputLine);
    StringTokenizer st =
    new StringTokenizer(inputLine, ", |");
    while (st.hasMoreElements())
    System.out.println("Token: " + st.nextElement());
    break;
    is.close();
    } catch (IOException e) {
    System.out.println("IOException: " + e);
    Thank You

    You can modify this to serve your goal.
    BufferedReader is=null;
    try {
    is = new BufferedReader(new InputStreamReader(new FileInputStream("Data.txt")));
    StreamTokenizer st = new StreamTokenizer(is);
    int n=0,k=0,q=0;
    String[] s=new String[20];
    String[] s0=new String[10];
    while(st.nextToken() != StreamTokenizer.TT_EOF) {
            switch(st.ttype) {
              case StreamTokenizer.TT_EOL:
                s[k] = new String("EOL");k++;
                break;
              case StreamTokenizer.TT_NUMBER:
                s0[q] = Double.toString(st.nval);q++;
                break;
              case StreamTokenizer.TT_WORD:
                s[k] = st.sval; // Already a String
                 k++;
                break;
              default: // single character in ttype
                s[k] = String.valueOf((char)st.ttype); k++;
            }  //end of while
       //   Some output processing here
    }catch(IOException ioe){
       ioe.printStackTrace();
    }catch(ArrayIndexOutOfBoundsException bx){
       System.err.println(bx);
    }finally{
           try{      if(is !=null)     is.close();}catch(IOException ioe){;}
    }

  • How to make an exe file from a java class file

    i know one of the java's most powerfull properties is plataform independent, but if i have done one application (with GUI) that i want to run on Win32 for example, if anyone knows how to make it please send me a message to [email protected], how i know that can be make it? because HotJava is made in Java and in Win32 is a executable

    Do a search on these forums for any of the thousands of times this question has been asked and any of the thousands of times it's been answered.

  • How to make an app deleted from iTunes library be deleted from all the iOS devices synced with this library?

    Hello!
    I have 3 iOS devices synced with iTunes apps library (OS X 10.10.2)
    Can someone tell me how to make not only added but deleted apps be synced also? I mean I want an app deleted in iTunes library be deleted from any iOS devices synced with this library.

    But it was working some time before! What and when has changed?
    There was even a warning popup window something about "this application will be deleted from all the devices synced with this library"
    Now there's opposite message - "This application will not be deleted from any device syncing with this account". Isn't it some kind of clue that there can be conrarily circumstances - when application IS deleted from ANY device synced with this computer?

  • Bridge: How to make PDF looking like this:

    I try to arrange my images in PDF document, which I'm making in Adobe Bridge CS5.
    I want to make this looking something like this:
    How to make it?

    Or get a decent program like Contact Sheet X.
    http://csx.riaforge.org/

  • How to make GC remove  weakReference from ReferenceHashSet

    Hi there,
    I opened and then close some GUI forms. and take heapdump file. the GUIformeditor are still in memory.
    and I used Jprobe and Heapanalyzer to check. both list ReferenceHashSet as the referrer for my GUIeditor.
    but I checke the source of org.eclipse.core.internal.runtime.referencehashset and it says A hashset whose values can be garbage collected.
    I requested a GC before I took the memory snapshot.
    could somebody shed some light into this? how to make the GC to collect those weakreference??
    Thanks a lot.

    I think you could try something like this.....
    Add with a power limit of zero and then drop the disks with a powerlimit of 11.
    alter system set ASM_POWER_LIMIT=0;
    select * from v$asm_operation;
    alter diskgroup DBFILE01_GRP
    add disk 'ORCL:DB0009', 'ORCL:DB0010', 'ORCL:DB0011', 'ORCL:DB0012';
    alter diskgroup DBFILE01_GRP drop disk DB0001, DB0002, DB0003, DB0004;
    alter diskgroup DBFILE01_GRP rebalance power 11;
    select * from v$asm_operation;

  • How to make a highlight video from a DVD?

    I want to make a highlight video from a dvd.  How do I get this dvd into iMovie?  I tried the import feature but I am getting an error stating it doesn't see any movies on the DVD.

    Video calling is a feature offered by your service provider.  You'd first have to sign up for the service then you'd need a phone that supports it.  Currently, I'm not aware of any BlackBerry phone that supports it.  The Chinese movie you saw might not have been technically accurate.  Case in point, I saw the Green Hornet movie recently and he has a car that does loads of cool things.  Turns out, if you watch the DVD extras, most of those stunts were fake. 
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

Maybe you are looking for