How to put three button into one borders

Hello:
Please tell me how to set up a borders for multiple buttons.
For example, I got six JButtons, their name are bOne, bTwo,bThree, bFour, bFive, bSix. I want a borders for
bOne, bTwo,bThree, and another borders for bFour, bFive, bSix.
Thanks
*This program for add six Buttons on the JFrame
import javax.swing.*;
import java.awt.*;
public class TestButton extends JFrame{
     private static TestButton tB;
     private static JButton jB;
     public static void main(String [] args){
          tB=new TestButton();
          tB.pack();
          tB.setVisible(true);
     public TestButton(){
          Container c=getContentPane();
          c.setLayout(new GridLayout(1,6));
          //add six buttons to frame
          jB=new JButton("Bone  ");
          jB.setBorder(null);
          c.add(jB);
          jB=new JButton("Btwo  ");
          jB.setBorder(null);
          c.add(jB);
          jB=new JButton("Btree  ");
          jB.setBorder(null);
          c.add(jB);
          jB=new JButton("Bfour  ");
          jB.setBorder(null);
          c.add(jB);
         jB=new JButton("Bfive  ");
         jB.setBorder(null);
          c.add(jB);
          jB=new JButton("Bsix");
          jB.setBorder(null);
          c.add(jB);
}

In case anybody cares.
This individual asked this same question about tables 6 times
http://forum.java.sun.com/thread.jsp?forum=57&thread=421727
http://forum.java.sun.com/thread.jsp?forum=57&thread=421789
http://forum.java.sun.com/thread.jsp?forum=57&thread=421568
http://forum.java.sun.com/thread.jsp?forum=57&thread=421525
http://forum.java.sun.com/thread.jsp?forum=57&thread=421476
http://forum.java.sun.com/thread.jsp?forum=57&thread=421283
then a question about buttons was asked 6 times
http://forum.java.sun.com/thread.jsp?forum=57&thread=421036
http://forum.java.sun.com/thread.jsp?forum=57&thread=421013
http://forum.java.sun.com/thread.jsp?forum=57&thread=420798
http://forum.java.sun.com/thread.jsp?forum=57&thread=417624
http://forum.java.sun.com/thread.jsp?forum=57&thread=417621
http://forum.java.sun.com/thread.jsp?forum=57&thread=416510
then a few miscellaneous question where asked:
http://forum.java.sun.com/thread.jsp?forum=57&thread=419990
http://forum.java.sun.com/thread.jsp?forum=57&thread=419264
http://forum.java.sun.com/thread.jsp?forum=57&thread=418945
http://forum.java.sun.com/thread.jsp?forum=57&thread=418993
http://forum.java.sun.com/thread.jsp?forum=57&thread=418418
http://forum.java.sun.com/thread.jsp?forum=57&thread=416047
Not once have they responded to thank the poster for their help. Not once have they even asked for claraification. All they do is start new threads asking the same question over and over and over.
I know I'm not going to waste any more time answering these questions until the individual learns the proper use of a the forum. I hope others will do the same.

Similar Messages

  • How to put selected videos into one place (File)

    How to put selected videos into a File so I can only show on TV the videos in that file

    YYou have to describe your issue in more detail. Are you using iTunes? Trying to see it in Apple TV, etc, etc.

  • Putting Three Cells into one Table Cell but with Three rows of data?

    How do I do this.
    I see no way to increment the indexPath row.
    I have data grouped by category and I want to show three items per line.
    Is there an example or such on how to increment the indexpath
    thanks

    One way to think about this problem is by filtering. You can create 'Booked Gig Tracking' and 'Try Again 2009' tables that are merely copies of the main table (with columns omitted as desired). These two tables would be populated with simple formulas like =MainTable :: Name in the Name column and =MainTable :: Address in the Address column. Make sure to copy the appropriate check column as well. Then each of these two tables can be filter to show only the items that are checked.
    This is a pretty sketchy description of the idea. If you need something more detailed, ask.

  • Due to circumstances I have three iCloud accounts, How can I amalgamate them into one iCloud account?

    Due to circumstances I have three iCloud accounts, How can I amalgamate them into one iCloud account?

    No, unfortunately you cannot merge accounts or transfer any purchased content from one account to another. As I said Apple won't let you do that.
    See also here: http://support.apple.com/kb/HT5622?viewlocale=en_US
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    If you are wondering how using multiple Apple IDs relate to iCloud, see Apple IDs and iCloud.

  • How do i put multiple albums into one huge album collection?

    How do i put multiple albums into one huge album collection?
    Some examples include: Linkin Park - Studio Collection, Michael Jackson - The Indisposable Collection

    Hi skullkrunch3r,
    Thanks for visiting Apple Support Communities.
    If you "Get Info" on the tracks that are part of your collection, you can use the Compilation option in iTunes.
    In iTunes 8 and later, you find the option to mark multiple items as "Part of a compilation" in the Options tab of the Multiple Item Information window.
    See this article for more information on marking your albums as part of a compilation:
    Why aren't songs with the same album art grouped together?
    http://support.apple.com/kb/TS1468
    Best Regards,
    Jeremy

  • Songs in my Itunes show up as separate folders.  How do I combine them into one album?

    Songs in my Itunes show up as separate folders.  How do I combine them into one album?

    Is this one of those CDs where the main artist asks their friend to sing a song with them?
    Such as, Slash's new album. Track 1 is "Slash Feat. Ian Astbury", track 2 is "Slash Feat. Ozzy Osbourne" and so on.
    To fix this, select all the tracks on that album, right-click > Get Info, and say YES to changing multiple items.
    Put "Slash" in the *Album Artist* field (for this example, of course).
    Make sure it is the *Album Artist* field, not the plain Artist field.

  • APEX:How to put dynamic buttons in a Report.

    Hello all,
    I am creating one application in which i want two buttons in every record. I can't put it manually because it should change according to records in a table So Can anyone tell me how to put dynamic buttons in a report.
    Thanks & Regards,
    Jiten Pansara

    Hi Jiten,
    you cannot create buttons in the report, but you can always create link columns with some css class to show it as button.
    So in the both link column report attributes you will have class="button1" and class="button2"
    And in dynamic actions you need to bind the events based on your link column's jquery selector like:
    .button1
    .button2Thanks

  • How to put my podcasts into playlist folders? Can't drag'em.

    How to put my podcasts into playlist folders? Can't drag'em.
    I've subscribed to a number of podcasts & they appear in my iTunes window under the Podcasts section.
    There i have
    2 problems:
    1st: I can't rearrange or group them so can listen consecutively to different topics.
    I must listen to one, then come to the keyboard and select the next to start playing. Now, I know that I can get them to play consecutively once I've placed them into Playlist folders,
    but that brings me to my second problem:
    2) I can't drag and drop them into separate iTunes FOLDERS (by topics).
    (Though I have been able to drag&drop separate items from my 'Music' section into iTunes playlist folders.)
    But can't drag from Podcasts section into Playlists,
    as everytime I try they just refuse to go in and scurry back to their starting position under Podcasts.
    Zupwidiss? This can't be.
    I would be grateful for your solution.
    And also grateful if I could have easily found the solution explained
    before I had to resort to bothering this forum with this question.
    Just using my MacMini, Snow Lep.

    Thanks very much.
    You have reminded of the
    difference between
    Playlists and Playlist Folders:
    One can only drag things from the Master list into PLAYLISTS.
    And can only drag Playlists into Playlist Folders.
    I'm an older man, and easily confused by these things.
    Many thanks to my friend in Germany.
    P.S. Your English is excellent.

  • I have iOS 6 on my iPhone. i have linked my contacts with facebook and yahoo, which has doubled or triplicated some of the contacts. how can i integrate them into one? please help. it is getting on my nerves. thanks :)

    I have iOS 6 on my iPhone. i have linked my contacts with facebook and yahoo, which has doubled or triplicated some of the contacts. how can i integrate them into one? please help. it is getting on my nerves. thanks

    click on the contact which you want to integrate, click the edit button scroll down u will find a option called link contacts use it to link it to the duplicate contact

  • HT1725 I have purchased and album and when it downloaded it came in the from of 16 separate single tracks how do I make it into one album ?

    I have purchased and album and when it downloaded it came in the form of 16 separate single tracks how do I make this into one album ?

    I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the entries, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.
    (Not entirely sure what happens after you click that link, but fingers crossed it should be relatively straightforward.)

  • How do I bundle files into one folder on my mac OS X version 10.6.8?. I do not see launchpad on my desktop.

    How do I bundle files into one folder on my mac OS X version 10.6.8? I don't have an icon for Launchpad on my desktop.

    Put the files you want on the first page into the folder, and then use subfolders for the subsequent pages. If the process you saw involved Launchpad on a newer OS, it can’t be done on 10.6.8.
    (108795)

  • I have several pics of my new grandson throughout the year.  How do I combine them into one event

    I have several pics of my new grandson throughout the year.  How do I combine them into one event

    You can drag and drop photos from one Event to another. Or you can flag them and use the Events: Add Flagged photos to Select Event.
    However, why not use an Album for the job?

  • I have two different itunes music files on my computer.  How do I combine them into one file?

    I have two different itunes music files on my computer.  How do I combine them into one file?

    I don't think so. The only other ID I have is a developer id, and I didn't get that until several months after I got the phone. In addition purchases I made from the App Store onthe phone would sync up with It unes on the Mac meaning it would be the same id.
    However I looked at the AppStore on my phone while it was connected to the Mac with iTunes open, and now the balance has changed to the same as the others.

  • I have two apple Id accounts how do I merge them into one account

    I have two apple Id accounts how do I merge them into one account

    you can't merge Apple ID's
    From the FAQ: http://support.apple.com/kb/HT5622
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

  • I have 3 itunes accounts.  How can I merge them into one?

    I have 3 itunes accounts.  How can I merge them into one?

    Sorry, but the only answer is that you can't.

Maybe you are looking for

  • How do I set the PXI 6031E for single ended or differential input?

    6030/1/2/3 E manual states that the 6031 and 33E has software selectable single ended or differential input per channel.  How do I set it in labview?  I have been unable to locate the property.

  • How do I create this list?

    i have a singular list with no hierarchy, something like the following: listData = ExtractElementData("abc.xml","PRODUCT_NAME"); I want to make it a hierarchical list like the following: listData = ExtractElementData("abc.xml","PRODUCT_CATEGORY,PRODU

  • Newest safari download

    I just downloaded the latest update to Safari and now I cannot open Safari from the doc or from the HD applications folder. I have never had ths problem with automatic updates before. Any suggestions?

  • Sql syntax in jsp

    Hey All! Im trying ot use a a bean to select data from a table where email != '' The funny thing is my code works in one couple of jsp/bean but not in another, even though it's the exact same code. This works The Bean: String sql = "SELECT applicanti

  • The latest version dosen't support my QuickTime?

    After I updated my AE CC 2014,it says I don't have QT installed. But even if I reinstall the latest QT, it doesn't work! WHY? Reinstalling the last version works.