jscpList  =  new  JScrollPane(jtable); 
创建的时候就把TABLE放进去呢?

解决方案 »

  1.   

    是的。放进了,但是我做数据更新的时候,数据没有办法运动。、
    ((DefaultTableModel) jtable.getModel())
    .setRowCount(map.size());
    for (String skey : map.keySet()) {
    tmpObj = map.get(skey).toArrObjects();
    tmpObj[4] = replacevalue(Integer
    .parseInt(tmpObj[4]));
    for (int j = 0; j < tmpObj.length; j++) {
    ... }
    jtable.setValueAt(tmpObj[j], i, j);
    }
    i++;
    }
      

  2.   

    JScrollPane scrollPane = new JScrollPane(table);
    //获得 scrollPane 方向的垂直滚动条
    JScrollBar jScrollBar = scrollPane.getVerticalScrollBar();//获得垂直滚动条 /*
     * 在每次重载table modle 的时候 即数据变化的时候执行下面代码
     *///设置最大可滚动长度 随table的值改变
    jScrollBar.setMaximum(table.getRowCount()*table.getRowHeight());
    //将垂直条拉到最下
    jScrollBar.setValue(jScrollBar.getMaximum());
    我是帽子  HOHO
      

  3.   

    jscpList.setBounds(3,  2,  windowWidth-8,  listHeight-2);  
    问题在这。把这句去掉。
      

  4.   

    第1期.
    Lesson article 课文:
    Good evening, my name is Fabio, I’ll be your waiter for tonight, my I take your order?
    Now I’m so working on it, this menu is not even in English, what’s good here?
    For you sir, I would recommend spaghetti and meat balls.
    Does come with coke and fries?
    It comes with either soup or salad and a complementary glass of wine.
    I’ll go with this spaghetti , meat balls, salad and wine.
    Excellent choice, your order will be ready soon.
    How soon is soon?
    Twenty minutes?
    You know what? I’ll just go grab a burger across this street.Marcle & Mirra conversations 主持人对话
    Why don’t you give us a little bit more details?
    We are talking about a situation in a restaurant and two people are involved, the waiter and the customer.
    He is really angry with this customer.
    I’m still working on it.
    Did you finish reading the magazine?
    Did you fix my car?
    Shot way of saying sth
    Complementary
    We definitely like free things.
    I’ll go with
    Grab
    On you way home can you grab some milk?
    Wait me please, I need to grab my coat?
    Lets grab a cup of coffee.
    He basically wasted the waiter’s time.
    I think he is a lot more casual than the place he is in.
    How many time Marcle tell me, do you really have fast food a week?
      

  5.   

    第2期.
    Dialog: 课文:
    Hello, Deniel speaking, how may I help you?
    Hi Deniel, Juli here.
    Well hi Juli, how are you?
    Actually, I’m feeling quite ill today.
    Oh, Im sorry to hear that, whats wrong?
    I think I’m coming down with flu.
    I have a headache, sore throat, a runny nose and I feeling slightly feverish.
    I see, so you calling in sick.
    Yes, I was hoping to take the day off to recover.
    Ok then, try and get some rest.Marcle & Erica conversations 主持人对话Hello, English learners welcome to English Pod, my name is marcle, and I’m Erica. At today we gonna be bringing you a very useful lesson about being sick. 
    Yes , We are going to learn how to tell your boss that you can’t go to work because you are sick.
    Exactly, it is really important because we all get sick, and sometimes we just can’t go to work.
    Yes, or maybe sometimes you just don't want to go to work.
    Exactly exactly, maybe you are lying. But we gonna be teaching you how to do it anyway. So before we start with the dialog, let’s take a look at vocabulary preview.Vocabulary preview.
    In this vocabulary preview, we have two words for you, the first one is Quite ill.
    So Quite ill, very sick.Quite is synonym of very. Exactly,  ill, sick, so they both mean the same things. No difference. No difference at all. I just think ill is more common in British English. Exactly. Alright,  Lets take a look at the second word Flu. So the Flu is a virus. Yeh it’s a sickness. Ok , And Its very simlar to a cold. Yes, but just a lot worse. So its stronger. Its also called influenza. Exactly, So the Flu
    OK so lets listen to a dialog, whats gonna happen here today. Well we are going to listen as Juli calls her boss to tell him she sick. Alright but is she really sick? I don't know, let’s find out.Play dialog.Alright so Juli didn’t really seem to be sick hmm? Yeah, I don't know that cough was just a little too much. It seems she was acting.  Yea. Alright, Lets take a look at some of this vocabulary in language take away.
    Language take away.
      

  6.   

    We have five words for you here, and these are all great word to describe a sickness, right?
    Aright the first one, Headache. So when you have headache, you have a sore head. Right your head hurt. So its pretty simply. You have a headache. It’s way you feel after be in the bar too late. Yeah. When you drink too much you get a headache.
    Alright lets take the next word. Sore throat. So Basically, we have two words here. Lets look at the first one. Sore. Hurting . You hurt right? Yes. Well you know the part regulate the back…You know Its the part at back of your mouth that goes down to your stomach. Alright that’s your throat. So You use your throat to swallow. Now We can use the word sore with different body parts right? yes .Like a Sore back. Right Or maybe you are playing tennis or we can say we have sore arms. Or even you can have sore neck. So the word sore.
    Lets take a look at the third word. Runny nose it is a very strange word, I know. But it doesn't mean your nose is runny right? No .when you have runny nose, there is a lot of  water coming out of your nose right? Right.  So its interesting, because when you run, you go fast. So a lot water is … coming fast out of your nose.
    OK, our fouth word today. Slightly feverish, So again, slightly is, a little bit. And feverish.  Well lets break this word down. You know fever right. So when your body is very very hot because you are sick, so feverish is the feeling of your body being very very hot.. ok So you have high temparature. Its not that you have high temparatory, but you feel like you have high temparature. Ok.
    And the last word. Recover. So this means to get better. Can you only use it when you sick? So when you recover, you get better, and you rest. So may be you can say, I was so busy this week I need to recovery this weekend. So if you re tired or if you are sick you can recover. Ok lets listen to the dialog again, and we can listen to these word that we just talked aboutPlay dialog.In this dialog we listened to some really interesting phrases of  how you can tell your boss that you are feeling sick right? Yea, some great phrases, so let’s look at these and fluency builder.
    Fluency builder
    Ok, lets take a look at first phrase on fluency builder, I’m coming down with. Alright so lets listen to some examples and then we’ll  come back and explain these intersting phrases. Example 1: my throat really hurt, I think Im coming down with the cold. Example 2: You have a runny nose, are you coming down with the flu? Example 3: I don't feel well I think Im coming down with something.
    Ok so basically coming down with means starting to get sick, and beginning to feel sick. Yes, ok,. So you can use it with Im coming down with the flu, Im coming down with the cold? Im coming down with the cough, yes or Im coming down with something. You don't’ know what it is, exactlyLets take a look at the second phrase, calling in sick, so this phrase is great, you know when you say you im calling in sick, you saying hey im not going to come to work today because Im sick. So literarily, you call your office and you say you are not going to work. It's the three words that show such long idea. Right because otherwise you ll have to say Im calling because I dont feel well , so im not going to work. But if you say im calling in sick, everyone knows. Everyone understands that you not going to work.Lets take a look at the last phrase,Take the day off, this is a great word
    To Take the day off is to not go to work on that day. you can say take the week off, take the month off, or take the year off. If you are so lucky. Alright so take the day off means not to go to work on that day.
    Alright lets listen to the dialog again now , and then we ll come back and talk a little bit more.Play dialogWell marcle, have you ever done what Juli did. Did u ever call your boss to say you are sick when you are not really. Yeah of course, sometimes you just don't feel very well, but you are not really sick , you just not feel like to going to work. Yes. Or sometimes you have something to do.
    You know we call those in Canada we call them personal days. So you say, oh im gonna take a personal day, you mean Im calling in sick , but then go shopping.
    We used to do that a lot cause soccer game is such a big deal. And you know you sometimes for example you have soccer match between, , brazil. and it would maybe at 10 am ro  11am, everybody would calling in sick. And the boss would complain after the day off.
    Sometime I take half day off, so if you not going to make it morning, im coming in the afternoon, So you recover quickly.I don't feel well in the morning but I get better in the afternoon.