SIMPLE PROBLEM DRIVING ME CRAZZY!!!...please help

Hi, ive tried searching for this problem all over the forums, but it seems most people have more complicated ones related to this:
I have a Jtable in a JtabbedPane...
For the JTable i have RESIZE_ALL_COLUMNS chosen...but resize my application, the JTable does not resize!!!!!!...the JTabbedPane does resize to take up the whole width of my contentpanel (the contentpanel is on VerticalFlowLayout), while the rest are on XYLayout (in JBuilder 5)...
I JUST NEED THE JTABLE TO EXPAND EACH COLUMN to fit the pane...how do i do this...///???
Thanks a lot in advance
Sid

XYLayout uses absolute position so try using another
layout manager that properly fits components in panel.
I suggest to use the new one from J2SE 1.4:
SpringLayout.
Tutorial at:
http://java.sun.com/docs/books/tutorial/uiswing/layout/
pring.htmlhmm...spring layout seems like alotta code 'n seems kinda new too since itz not one of the layouts listed in the jbuilder5 layouts...is there a simpler way?...maybe using one of the older layouts???
thanks.
Sid

Similar Messages

  • I tunes problem driving me mad - please help

    Hi, I've just got a new laptop and have installed i-tunes on it. I have copied all my music to the hard drive from my previous computer and i-tunes has has automatically placed all of the music in the i-tunes library. The problem is that for some reason the library is showing 3 copies of each song even though there is only one of each on the hard drive. i have tried removing i-tunes and reinstalling but it is still happening. i have looked through the i-tunes settings but can't work out why it is happening. i dont want to have to go through the library deleting songs as it would take forever...
    Has anyone else had this problem? any help would be greatly appreciated
    Thanks

    sometimes different songs are placed under one name and also it looks through multiple directories.try to single the folder out for music and then it might work
    hope i helped.

  • TS1538 I have tried everything but I can't connect my iphone to my laptop. It says that apple mobile device failed to be installed. I have read everything on the internet and did everything but still am facing the same problem. Can you please help me.

    I have tried everything but I can't connect my iphone to my laptop. It says that apple mobile device failed to be installed. I have read everything on the internet and did everything but still am facing the same problem. Can you please help me.

    Again without stating the trouble shooting steps you have taken, its hard to direct you with any information.
    Try a different port on the computer.
    Does the iphone beep when u plug it up. ?
    Plug iphone into computer and give it 3 to 4 minutes to see if it connects and is running slow.,
    Delete the apple mobile device from your computer.
    Upgrade itunes to newest version.
    Is you USB cord defective ?
    Any USB 3.0 on your system ? .
    Delete or Disable  any antivirus program on your computer ?
    I will tell u the problem is your computer not the phone.
    We could do this for hours.

  • HT201363 Hello I forgot my Security question of my Apple ID ? I don't kow what should I do and how to solve this problem ? could you please help  ?

    Hello I forgot my Security question of my Apple ID ? I don't kow what should I do and how to solve this problem ? could you please help  ?

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (104569)

  • Developer 6 Timer Problem... Please help

    Hi all,
    I have installed Developer 6(Oracle Product) on my system. I am facing a strange problem whenever I try to use Create_Timer built in. The cursor moves to starting of the Item being modified as soon as the space bar is pressed (timed for timer expiration). If I remove the Built-in the problem is resolved.
    Please help urgently.
    Regards
    Anand

    Upgrade to the latest patch and the problem shoudl go away - this issue was fixed I think in 6.0.8.13+
    You can also try setting Keey Cursor position to Yes on the item.

  • HT1926 i've tried so many times but the problem still exists! please help!!

    i've tried so many times but the problem still exists! please help!!

    Could you describe what your problem is, please?

  • I am unable to download Acrobat XI Standard purchased 19Feb15 & unable to locate on your web site simple steps to do this - please help; what am I not doing?

    I am unable to download Acrobat XI Standard purchased 19Feb15 & unable to locate on your web site simple steps to do this - please help; what am I not doing?

    Make sure you have cookies enabled and clear your cache.  If it continues to fail try using a different browser.

  • What to do when iTunes cannot sync my iPad 3. Problem Event Name: BEX (Please Help)

    What to do when iTunes cannot sync my iPad 3. Problem Event Name: BEX
    Please Help to solve...

    Hi Ahmed,
    In iTunes, go to the Store in the left menu, select iTunes Store, wehn it opens, make sure you are on the home screen (icon of a house in the menu bar) and from the righthand side, select Account.
    Next you will see all of your account information. Just a little don, you will find: Apple ID overview, there it says, Authorised computers; click on the button to deauthorise.
    And you should be done.
    Grtz, Carl.

  • No sound for incoming calls but it works using speaker and earpiece. I can't hear anything but the other party can hear me clearly. I was told it's hardware problem. Would anyone please help? Thanks

    No sound for incoming calls but it works using speaker and earpiece. I can't hear anything but the other party can hear me clearly. I was told it's hardware problem. Would anyone please help me? Thanks

    This is an annoying problem for many people. Most likely your dock connector (on the bottom where you plug in your phone) is dirty or screwed up and is probably just coincidence that it happened after you updated. Some people have had success cleaning the port with a dry clean tooth brush. There is a long discussion going on at the thread I linked below. Good luck...
    https://discussions.apple.com/thread/2475631

  • PROBLEM WITH NEW ROW  --- PLEASE HELP

    Hello,
    I've had it with the framework. It's been 20 hours and counting that I am trying to insert/validate a new record.
    Things just don't work as advertised.
    Here's the situation:
    I have an entity object with various validation rules in the validate() method.
    Then I have a simple JSP page to insert new records.
    At submit of button, I follow the framework's default
    create new row and fill it up, with the difference
    that i need to validate the row as soon as I fill it up
    with data from the http request:
    <jbo:OnEvent name="Create">
    <jbo:Row id="newrow" datasource="ds" action="CreateInRange" >
    <% try { %>
    <jbo:SetAttribute dataitem="*" />
    <%
    newrow.validate(); //******* NOTICE HERE THAT I VALIDATE
    } catch (JboException ex) {
    newrow.remove();
    throw ex;
    } %>
    </jbo:Row>
    </jbo:OnEvent>
    Unexpected behavior 1: If the validation fails,
    newrow DOES NOT GET REMOVED!!!! I know this
    since when I view data thru a data table component,
    the row is there WITH THE ERROR INFORMATION set!!.
    If I do a commit transaction, then the erroneous information ENDS UP IN THE DATABASE!!!!!
    Unexpected behavior 2: If I do a rollback, every
    call to subsequent pages results in a jsp error:
    java.lang.ClassCastException: oracle.jbo.html.jsp.datatags.OnEventTag
    PLEASE HELP.
    Chris Lambrou

    I have (hopefully) found a solution to my part of this problem. I was getting the ClassCastExceptions on any page with a <jbo:row> tag after doing a failed DML action. I have tested this with the delete event. (btw, I am using jdev9.0.3.3 w/ BC4J/JSP) Before what I was doing was this:
    <% try { %>
    <jbo:Row id="delrow" datasource="ds" rowkeyparam="jboRowKey" action="Delete" />
    <% } catch (JboException jboEx) { %>
    do something
    <% } catch (Exception ex) { %>
    uh-oh, this is bad
    <% } %>
    If I removed the try/catch block everything worked fine. Unfortunatlely, I need to try/catch block here. To work around the problem I changed the code to this:
    <% Row rowDelete = ds.getRowFromKey(params.getParameter("jboRowKey")); %>
    <% try { %>
    <%
    rowDelete.remove();
    %>
    <% } catch (JboException jboEx) { %>
    do something
    <% } catch (Exception ex) { %>
    uh-oh, this is bad
    <% } %>
    The second bit of code does the same thing (but it doesn't use a bean like I think <jbo:Row> does) and it doesn't cause the ClassCastError on subsequent errors.
    I really hope this helps someone else because it took me forever to get a workaround!
    ~Rob Lundeen

  • Video card or driver problems with an N200, please help!

    I have a lenovo 3000 N200, it is really cool, runs even games quite well, including newer ones.
    But, is it normal to for the display driver program to freeze out in Warcraft 3? It always does that, when accessing the list of maps in the game and after 3-5 mins during an actual game. It sets the resolution down to 640X480 (from 1280X800) and in 16 color. I have to reset it in order to make it work. Also it does the same in Spore - though after having the driver written for Spore installed, ( which I downloaded from lenovo's site ) I haven't encountered that problem so far. Also Second Life shuts down - thankfully it does not freeze the drivers. I understand that the model I have is not meant for gaming but if it can run Warhammer 40k: Soulstorm at meduim graphic settings (on widescreen) without a lagg I can't understand why it wouldn't be able to handle warcraft 3 - that even an ATi m200 express can handle. I mean an X3100 from Intel must be far more powerful. (Said ATi card laggs with older games like Unreal Tournament)
    I have the latest driver - official - and a Win Xp pro Sp2. I always keep my system up to date - save for opsys but so far driver did not need sp3 - and virus clean.
    Please help me? 
    Solved!
    Go to Solution.

    Well, Unreal Tournament 2004 runs flawlessly on max graphics - though simple Unreal Tournament laggs like hell with all possible settings - also, as I said Dawn Of War and it's expansions run well on med graphics. The Suffering Ties That Bind runs also good on highest settings - though there is a bit of degradation compared to my tabletop pc's performance. Disciples 2 ran - of course - well, there were some texture problems with it but Heroes 5 ran quite well even on higher settings (as I mentioned it sometimes blunted down the textures but not always and it ran without a lagg). Alien Versus Predator 2 ran on max graphics, and there was no trouble, save for the aliens' special vision (that white thing that looks as if inverted colors) didn't work - aka was only a black screen - and that the crosshair of the smartgun was only a blank red/green block on the middle of the screen.Oh, and Command & Conquer: Generals Zero Hour works on highest settings without a lagg, along with Quake 3, and Jedi knight : Academy. It even runs Perfect World on high settings and only laggs in bigger towns - but that also might be because of the tremendous bandwidth usage that occurs. Even Red Alert 3 was able to run, but I would only advise that for RA fanatics, on low settings it was playable. Also, C & C: Tiberium Wars runs better than RA 3 , if you like that it is quite playable and worth a try. As you can see I have put it to it's limits to see what it can endure. Unreal Tournament 3 ran, though was gruesomely degraded and then it gave me the blue screen of death; so I quickly uninstalled that. Other than the forementioned program I had no real problems with the card, but the existing problems are a pain in the ... well we all know how bothering it can be when one is unable to play his/her favourite game (that should really run flawlessly).
     Doesn't vista eat up too much of the system resources? A friend of mine was complaining about his n200 that vista is too slow on it and it eats up too much processor/memory.
    Also, still no new on videocard front... Asked around if anyone knows, but I am guessing that maybe even Blizzard - referring to my Warcraft problem - shows more compassion to their forums and users than Lenovo, so I'll ask around there too. 

  • TOMCAT problem on REDHAT 9,PLEASE HELP

    Hello, i am new to redhat and i installed tomcat 4.0.1 and it worked properly, i used tomcat for studying issues so i used to start it and stop it many times
    now when i use mozilla and try to request the server using http://localhost:8080/ ,mozilla status bar shows "Transfering data from localhost" and loops for ever
    so please help me

    I think this is not problem of redhat just check reinstalling tomcat.

  • I suppose it is the problem with socket connection,Please help

    Hi,
    I'm trying to build a chat server in Java on Linux OS.I've created basically 2 classes in the client program.The first one shows the login window.When we enter the Login ID & password & click on the ok button,the data is sent to the server for verification.If the login is true,the second class is invoked,which displays the messenger window.This class again access the server
    for collecting the IDs of the online persons.But this statement which reads from the server causes an exception in the program.If we invoke the second class independently(ie not from 1st class) then there is no problem & the required data is read from the server.Can anyone please help me in getting this program right.I'm working on a p4 machine with JDK1.4.
    The Exceptions caused are given below
    java.net.SocketException: Connection reset by peer: Connection reset by peer
    at java.net.SocketInputStream.SocketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:119)
         at java.io.InputStreamReader$CharsetFiller.readBytes(InputStreanReader.java :339)
         at java.io.InputStreamReader$CharsetFiller.fill(InputStreamReader.java:374)
         at java.io.InputStreamReader.read(InputStreamReader.java:511)
         at java.io.BufferedReader.fill(BufferedReader.java:139)
         at java.io.BufferedReader.readLine(BufferedReader.java:299)
         at java.io.BufferedReader.readLine(BufferedReader.java:362)
         at Login.LoginData(Login.java:330)
         at Login.test(Login.java:155)
         at Login$Buttonhandler.actionPerformed(Login.java:138)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:17775)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4141)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
         at java.awt.Component.processMouseEvent(Component.java:4906)
         at java.awt.Component.processEvent(component.java:4732)
         at java.awt.Container.processEvent(Container.java:1337)
         at java.awt.component.dispatchEventImpl(Component.java:3476)
         at java.awt.Container.dispatchEventImpl(Container.java:1399)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
         at java.awt.Container.dispatchEventImpl(Container.java:1373)
         at java.awt.window.dispatchEventImpl(Window.java:1459)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
         My program looks somewhat like this :
    1st class definition:
    public class Login extends Jframe// Login is the name of the first class;
    Socket connection;
    DataOutputStream outStream;
    BufferedReader inStream;
    Frame is set up here
    public class Buttonhandler implements ActionListener
    public void actionPerformed(ActionEvent e) {
    String comm = e.getActionCommand();
    if(comm.equals("ok")) {
    check=LoginCheck(ID,paswd);
    test();
    public void test() //checks whether the login is true
    if(check)
    new Messenger(ID);// the second class is invoked
    public boolean LoginCheck(String user,String passwd)
    //Enter the Server's IP & port below
    String destination="localhost";
    int port=1234;
    try
    connection=new Socket(destination,port);
    }catch (UnknownHostException ex){
    error("Unknown host");
    catch (IOException ex){
    ex.printStackTrace ();
    error("IO error creating socket ");
    try{
    inStream = new BufferedReader(new InputStreamReader(connection.getInputStream()));
    outStream=new DataOutputStream(connection.getOutputStream());
    }catch (IOException ex){
    error("IO error getting streams");
    ex.printStackTrace();
    System.out.println("connected to "+destination+" at port "+port+".");
    BufferedReader keyboardInput=new BufferedReader(new InputStreamReader(System.in));
    String receive=new String();
    try{
    receive=inStream.readLine();
    }catch(IOException ex){ error("Error reading from server");}
    if(receive.equals("Logintrue"))
    check=true;
    else
    check=false;
    try{
    inStream.close();
    outStream.close();
    connection.close();
    }catch (IOException ex){
    error("IO error closing socket");
    return(check);
    // second class is defined below
    public class Messenger
    Socket connect;
    DataOutputStream outStr;
    BufferedReader inStr;
    public static void main(String args[])
    { Messenger mes = new Messenger(args[0]);}
    Messenger(String strg)
    CreateWindow();
    setupEvents();
    LoginData(strg);
    fram.show();
    void setupEvents()
    fram.addWindowListener(new WindowHandler());
    login.addActionListener(new MenuItemHandler());
    quit.addActionListener(new MenuItemHandler());
    button.addActionListener(new Buttonhandle());
    public void LoginData(String name)
    //Enter the Server's IP & port below
    String dest="localhost";
    int port=1234;
    int r=0;
    String str[]=new String[40];
    try
    connect=new Socket(dest,port);
    }catch (UnknownHostException ex){
    error("Unknown host");
    catch (IOException ex){
    ex.printStackTrace ();
    error("IO error creating socket ");
    try{
    inStr = new BufferedReader(new InputStreamReader(connect.getInputStream()));
    outStr=new DataOutputStream(connect.getOutputStream());
    }catch (IOException ex){
    error("IO error getting streams");
    ex.printStackTrace();
    String codeln=new String("\n");
    try{
    outStr.flush();
    outStr.writeBytes("!@*&!@#$%^");//code for sending logged in users
    outStr.writeBytes(codeln);
    outStr.write(13);
    outStr.flush();
    String check="qkpltx";
    String receive=new String();
    try{
    while((receive=inStr.readLine())!=null) //the statement that causes the exception
    if(receive.equals(check))
    break;
    else
         str[r]=receive;
         r++;
    }catch(IOException ex){ex.printStackTrace();error("Error reading from socket");}
    catch(NullPointerException ex){ex.printStackTrace();}
    } catch (IOException ex){ex.printStackTrace();
    error("Error reading from keyboard or socket ");
    try{
    inStr.close();
    outStr.close();
    connect.close();
    }catch (IOException ex){
    error("IO error closing socket");
    for(int l=0,k=1;l<r;l=l+2,k++)
    if(!(str[l].equals(name)))
    stud[k]=" "+str[l];
    else
    k--;
    public class Buttonhandle implements ActionListener
    public void actionPerformed(ActionEvent e) {
    //chat with the selected user;
    public class MenuItemHandler implements ActionListener
    public void actionPerformed(ActionEvent e)
    String cmd=e.getActionCommand();
    if(cmd.equals("Disconnect"))
    //Disconnect from the server
    else if(cmd.equals("Change User"))
         //Disconnect from the server & call the login window
    else if(cmd.equals("View Connection Details"))
    //show connection details;
    public class WindowHandler extends WindowAdapter
    public void windowClosing(WindowEvent e){
    //Disconnect from server & then exit;
    System.exit(0);}
    I�ll be very thankful if anyone corrects the mistake for me.Please help.

    You're connecting to the server twice. After you've successfully logged in, pass the Socket to the Messenger class.
    public class Messenger {
        Socket connect;
        public static void main(String args[]) {
            Messenger mes = new Messenger(args[0]);
        Messenger(Socket s, String strg) {
            this.connect = s;
            CreateWindow();
            setupEvents();
            LoginData(strg);
            fram.show();
    }

  • Very Odd Problem connecting to network please help

    Ok so I have had my Macbook Pro for a while and I have both an Airport Extreme and an Airport Express in my room. So until recently I could turn on my computer and my Airport would automatically connect to the internet. Now recently I turn on or open my computer and I can still see my network but I cannot connect to it. I have restarted all the devices and my computer, but the only thing that eventually logs me on (after anywhere between 5 minutes - an hour) is waiting. But the second I close my laptop I will get booted off the Internet and I cannot connect again.
    However I can still see the network I just cannot connect to it.
    Also another problem I have noticed is that when in Network Setup Assistant it asks me for the password for the network, and I have entered this password many times in my life for my iPhone and for my other devices. And yet recently when I input the correct password (ive tried over 100 times) I get a message saying that the password is incorrect, when I know for a fact that I am putting the right password in.
    If anyone could please help me I would be very grateful.

    The Airport Extreme base station has 2 passwords, one for logging into the router, the other for your network access (assuming you have security switched on). Just make sure you are trying to enter the correct password (I know this sounds obvious and no offense is meant).
    If you added the Extreme to your other router, make sure in Airport utility the Extreme is set to Bridge Mode, this will remove any incompatibility issues with 2 devices trying to obtain IP addresses from your ISP. Only one router should connect to your ISP, using password, username and relevant settings, the other is a bridge for your internal network allowing faster transfers between devices connected to say for example your extreme.
    I have a Netgear DG834PN modem/router which is assigned control to connect to my ISP (as it is a modem, the Extreme Base Station isn't a modem). The Apple Extreme is connected through ethernet to the Netgear. I have all my 802.11g/b/a devices connected through the Netgear wireless network (2.4Ghz) and all my 802.11n devices connected through the Apple Extreme Base Station wireless network ('n' only @5Ghz). I also have my Mac Pro and my AppleTV connected through gigabit ethernet (through the Extreme ethernet). Everything works well. AppleTV and Mac Pro sync very quickly, my MacBook Pro connects to other computers or devices (AppleTV for streaming content) within the Apple Extreme network, wired or wireless, and allows fast transfer speeds, especially with no g/b/a devices slowing things up.
    I also have a USB hub connected to the Extreme with USB printer attached and additional external storage connected, both available throughout the Extreme network to either wired or wireless devices.
    It sounds a bit complicated but it is really easy to do.

  • What do i do ? My i phone 4 has no option to reduce the motion picture. It is causing me a serious problem. Can anyone please help ?

    After several attempts to get some help from Apple, it has become clear to me that my i phone 4 has no options within accessibility to reduce the motion picture.
    I have a serious problem with the new software but unfortunatly i cannot go backwards with this update. Apple for obvious reasons will not advise any downgrading options. Can anyone please help me? Is there a third party option here. I do not want to pay for a new phone or replace the i phone as i run a mac,desktop and i pad... !! Thank you.

    Giansh2006 wrote:
    I don't quite understand why you have asked me about why I'm keeping my URL secret?
    It's only that I'm not clear why you are reluctant to post it. If you have a podcast in the iTunes Store then it's there for the world to see - they might search on its subject or title, for example, even if they don't actually know about it from you. If you look at other posts in this forum you will see that usually people post their URLs and then I can examine the feed and hopefully find out from that what the problem is. Without this information no-one can give you anything more than wild guesses.
    If you are still reluctant to post the details and want to have a bash at diagnosing the problem yourself you may find my web pages helpful:
    How do I make a podcast?
    how to diagnose a podcast feed
    Why don't my podcast episodes show the podcast image?

Maybe you are looking for

  • Why can't i use LTE internet on my iPhone 5. even if i changed my sim card ..

    hi . i bought unlocked iphone5 the last summer from apple store in Los Angeles , when i got back my hometown it did not work with LTE internet it just work with with 3G internet i changed the sim card 3 times and it is the same problem. when i try th

  • Unable to view  the postings in fb03 or in fbl1n.

    Hi All,         I'm facing a issue regarding viewing the posted transactions. I've posted a transaction in f-43( vendor invoice) and saved the document. Document no xxxxxxx has been generated.I'm able to view the current number in OBA7(Document Numbe

  • Not a valid pdf

    I'm trying to view my bank statement that is supposedly Adobe PDF and after downloading I'm told It's not a valid PDF

  • Data doesn't display in IE but does in Firefox, Safari, etc.

    I have an XML data set that displays as expected in Firefox, Safari, etc. However, the data will NOT display in IE on a PC or a Mac. It would be a great thing if it worked in IE! Thanks for any ideas. Link: http://email.colorfulimages.com/email%5Farc

  • Error in db13

    Hi, Due to security reasons we had disabled the RSH and enable SSH. After this DBCHECK & Update statistics not working in DB13 which was working perfectly when RSH was enabled. The error is "22.04.2009     23:00:36     No application server found on