Noah.w ,74philip ,anybody can help me, thank you

i know you are very kind persons,and very good at java programming,can you help me
my question is as follows:
http://forum.java.sun.com/thread.jsp?forum=31&thread=511963
there are two problems
1: when the program show a picture at first time (the picture's size is larger than the window size) the jscollpane's scrollbars don't show up ,unless you resize the frame
2: when show a very very large picture (say, a jpg , size 2048*1536 ) ,after you resize the window,the scrollbars show up, but when you scroll the jscrollpane's knob , the picture will be a mess
how can i solve it

I responded to your first thread with the following:
a) override paintComponent, not paint
b) gave you a link to a tutorial on painting
c) suggested you search the forum for examples
But, you apparently weren't willing to do a little
work on your own. You expect people to give you the
complete answer, so I gave up.you're right ,you teach me a lesson, thank you very much.
some times i'm too lazy to do the work my own,
i'm ashamed for having done that,
thank you again ,please forgive me

Similar Messages

  • Hello everyone, I am an electrical engineer, I am working on voice control of electric instuments, I like to use siri alication of "Apple", who can help me, thank you all

    Hello everyone, I am an electrical engineer, I am working on voice control of electric instuments, I like to use siri alication of "Apple", who can help me, thank you all

    If you mean that you want to license and obtain the programming code to Siri from Apple so that you can use it in your own devices, that will almost certainly not be possible. Apple almost never licenses their exclusive technologies to others. You can try writing their corporate office:
    http://www.apple.com/contact/
    and inquiring, but I would wager that you will not even receive a reply, much less have Apple be interested in licensing the Siri technology to you. You may have better luck talking to Nuance about their voice recognition technology:
    http://www.nuance.com/for-partners/index.htm
    If that's not what you mean, please post back and clarify.
    Regards.

  • The speaker of my brand new mac book pro are not working and I cannot plug in the earphones, the hole looks smaller than the pin or with an obstruction. anybody can help? thanks

    the speakers of my brand new mac book pro are not working and I cannot plug in the earphones, the hole looks smaller than the pin or with an obstruction. anybody can help? thanks

    Hi talero,
    Contact AppleCare or bring it into an Apple Store or AASP.

  • Hello , I have a license CS6 4 posts (3 installed on PC) I just got a mac so I wanted to install the latest license it but when I want to register on the site adobe it tells me that " the number provided is not valid "can help me thank you

    Hello , I have a license CS6 4 posts (3 installed on PC) I just got a mac so I wanted to install the latest license it but when I want to register on the site adobe it tells me that " the number provided is not valid "can help me thank you

    Contact support by web chat.
    Mylenium

  • When trying to download QuickTimeInstaller.exe, I get an error message that it is not a Win32 application. Is there anyone that can help? Thank you.

    While tring to download QuickTimeInstaller.exe, I get an error message that it is not a Win32 application. I do not know what that means. I am running Vista and Service Pack 2 is installed. I am trying to look at a math tutorial on CD that came with the textbook.
    Thank you for any help or assistance.
    Laura

    It suggests the installer is getting damaged during the download.
    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/quicktime/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • I'm not able to load windows 8.1 with boot camp on new MacBook Pro retina with on the new mavericks 10.9. If anybody can help? thanks. Michel

    I already spent half a day in order to load windows 8.1 on my new Macbookpro Retina without success. Boot camp not reconize the USD drive with windows 8.1. Is anybody able to help me?

    I already spent half a day in order to load windows 8.1 on my new Macbookpro Retina without success. Boot camp not reconize the USD drive with windows 8.1. Is anybody able to help me?

  • How long I shall wait? anybody can help?

    my ipod nano was in Windows format, but now I bought a new computer using the Mac OS X sysstem, then I have to restore my ipod nano. But it's been already two hours that I'm waiting it to restore, I'm worry, it is something wrong? How long time it takes to restore my ipod nano? anybody can help?

    thanks, i did restart my Mac, at least it doesn't always showing that "restoring". But the problem still there, I managered to turn the ipod nano to disk modo and recconcted with the computer, but my Mac doesn't recognize at all my nano, and ipod shows nowhere in my computer. How can I restore my nano with this situation? any suggestion?

  • Hello, I can't open the FluidTunes. Anybody can help me?

    Hello, I can't open the FluidTunes. Anybody can help me?

    You didn't give any information other than you have have some kind of iMac. You should probably contact the maker of the software http://majicjungle.com/about.html and click on the email for support.

  • I need GPIB Driver for Keithley 263 Calibrator/Source Meter using Labview. Can anybody help? Thank you.

    I need GPIB Driver for Keithley 263 Calibrator/Source Meter using Labview. Can anybody help?
    Thank you in advance.

    Hi,
    on Keithley's website is explained :
    "The Model 263 offers a more economical, more precise alternative to the Model 6430 or the Model 236 when used as a low-current source. It is used almost exclusively as a current calibrator."
    This leads to Model 236.... A LabVIEW-driver is available @: http://search.ni.com/query.html?lk=1&col=alldocs&nh=500&rf=3&ql=&pw=595&qp=%2BContentType%3AInstrumentDriver+%2BIDNetManufacturer%3A%22Keithley%22&qt=&layout=IDNet
    Maybe you have to "reconstruct" some parts - but it will help.
    regards
    wha

  • Hi..i just finish installed OS x maverick, it seems that my ITunes having problem..an error occured (-45054)...is there anybody can help me on this..thanks

    Hi..i just finish installed OS x maverick, it seems that my ITunes having problem..an error occured (-45054)...is there anybody can help me on this..thanks

    Hi plugking,
    Welcome to the Support Communities!
    Repairing disk permissions is the first step in resolving this error message:
    Troubleshooting permissions issues in Mac OS X
    http://support.apple.com/kb/HT2963
    Open Disk Utility (/Applications/Utilities/). Select your Mac OS X startup volume in the column on the left of the Disk Utility window, then click the First Aid tab. Click the Repair Disk Permissions
    Also, make sure you have the latest version of iTunes installed:
    Apple - iTunes - Download iTunes Now
    http://www.apple.com/itunes/download/
    Cheers,
    - Judy

  • Hi my macbook just one day decided that the power button will not work despite full battery power Please can anybody help me thank you so very much

    pleaseĀ  if anybody can help me i would give you a very very big hug but :i will sat to yiu I thamk yiu very much to take your time to help me yes
    Muitos Beijos and Obrigado
    Issy

    First begin by resetting the SMC (system management controller) on your macbook as shown here: http://support.apple.com/kb/HT3964
    Have you recently changed any hardware ? May there have been any condensation that found it's way on the greater area of the keyboard and specifically near the power button ? Have you tried pressing the area directly near the said button and then pressing the power button itself simultaneously with the possibility the contact may have gone haywire ?
    Good luck.

  • How can I cancel my subscripction before 30 days are passed? I don't find any telephone number or addresse where I can do the cancel. Anybody can help me? thanks

    How can I cancel my subscripction before 30 days are passed? I don't find any telephone number or addresse where I can do the cancel. Anybody can help me? thanks

    Cancel http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • My iphone 4's backlight turns off ocassionally.,some say update it and it will be ok..,anybody can help me?

    my iphone 4's backlight turns off ocassionally.,some say update it and it will be ok..,anybody can help me?

    yes the phone is already on..,autolock is set to 1 min..,what i mean is that whenever im using my iphone the backlight turns off and i got a black sceen but i canĀ  see the icons on my iphone if i put it on a bright light..,even if i press the wake up botton the backlight just lit at little and it turns off again,,,and after about 30 mins on sleep mode and press the wake up button it will function as a normal again,few minutes after backlights turns off again..thanks!

  • I saw a message "cannot get mail. The connection to the server failed". Anybody can help pls?

    I saw a message "cannot get mail. The connection to the server failed". Anybody can help pls? I did try to delete the account and add back. Also tried to reset/ reboot the iPad but still effortless.

    Hi all, I finally solved the issue. Here I wish to share with you all. First, I delete my hotmail account from mail account. Secondly I reboot my ipad2 with holding sleep and home button at once untill the apple logo is appeared. Then I add back the hotmail account. Done. Hope it helps. Thank you.

  • Anybody can help with this SQL?

    The table is simple, only 2 columns:
    create table personpay(
    id integer primary key,
    pay number(8,2) not null);
    So the original talbe looks like this:
    ID PAY
    1 800
    2 400
    3 1200
    4 500
    5 600
    6 1900
    The requirement is to use one single query(no pl/sql) to show something lile the following, in other words, for each ID, the pay is the sum of all before itself and itself. So the query result looks like this:
    ID PAY
    1 800
    2 1200
    3 2400
    4 2900
    5 3500
    6 5400
    Again, just use one sql. No pl/sql. Anybody can help with this? I really appreciate that.
    thanks,

    Eh, people are so "analytically minded" that can't even notice a simple join?
    Counting Ordered Rows
    Let’s start with a basic counting problem. Suppose we are given a list of integers, for example:
    x
    2
    3
    4
    6
    9
    and want to enumerate all of them sequentially like this:
    x      #
    2      1
    3      2
    4      3
    6      4
    9      5
    Enumerating rows in the increasing order is the same as counting how many rows precede a given row.
    SQL enjoys success unparalleled by any rival query language. Not the last reason for such popularity might be credited to its proximity to English . Let examine the informal idea
    Enumerating rows in increasing order is counting how many rows precede a given row.
    carefully. Perhaps the most important is that we referred to the rows in the source table twice: first, to a given row, second, to a preceding row. Therefore, we need to join our number list with itself (fig 1.1).
    Cartesian Product
    Surprisingly, not many basic SQL tutorials, which are so abundant on the web today, mention Cartesian product. Cartesian product is a join operator with no join condition
    select A.*, B.* from A, B
    Figure 1.1: Cartesian product of the set A = {2,3,4,6,9} by itself. Counting all the elements x that are no greater than y produces the sequence number of y in the set A.
    Carrying over this idea into formal SQL query is straightforward. As it is our first query in this book, let’s do it step by step. The Cartesian product itself is
    select t.x x, tt.x y
    from T t, T tt
    Next, the triangle area below the main diagonal is
    select t.x x, tt.x y
    from T t, T tt
    where tt.x <= t.x
    Finally, we need only one column – t.x – which we group the previous result by and count
    select t.x, count(*) seqNum
    from T t, T tt
    where tt.x <= t.x
    group by t.x
    What if we modify the problem slightly and ask for a list of pairs where each number is coupled with its predecessor?
    x      predecessor
    2      
    3      2
    4      3
    6      4
    9      6
    Let me provide a typical mathematician’s answer, first -- it is remarkable in a certain way. Given that we already know how to number list elements successively, it might be tempted to reduce the current problem to the previous one:
    Enumerate all the numbers in the increasing order and match each sequence number seq# with predecessor seq#-1. Next!
    This attitude is, undoubtedly, the most economical way of thinking, although not necessarily producing the most efficient SQL. Therefore, let’s revisit our original approach, as illustrated on fig 1.2.
    Figure 1.2: Cartesian product of the set A = {2,3,4,6,9} by itself. The predecessor of y is the maximal number in a set of x that are less than y. There is no predecessor for y = 2.
    This translates into the following SQL query
    select t.x, max(tt.x) predecessor
    from T t, T tt
    where tt.x < t.x
    group by t.x
    Both solutions are expressed in standard SQL leveraging join and grouping with aggregation. Alternatively, instead of joining and grouping why don’t we calculate the count or max just in place as a correlated scalar subquery:
    select t.x,
    (select count(*) from T tt where tt.x <= t.x) seq#
    from T t
    group by t.x
    The subquery always returns a single value; this is why it is called scalar. The tt.x <= t.x predicate connects it to the outer query; this is why it is called correlated. Arguably, leveraging correlated scalar subqueries is one the most intuitive techniques to write SQL queries.
    How about counting rows that are not necessarily distinct? This is where our method breaks. It is challenging to distinguish duplicate rows by purely logical means, so that various less “pure” counting methods were devised. They all, however, require extending the SQL syntactically, which was the beginning of slipping along the ever increasing language complexity slope.
    Here is how analytic SQL extension counts rows
    select x, rank() over(order by x) seq# from T; -- first problem
    select x, lag() over(order by x) seq# from T; -- second problem
    Many people suggest that it’s not only more efficient, but more intuitive. The idea that “analytics rocks” can be challenged in many ways. The syntactic clarity has its cost: SQL programmer has to remember (or, at least, lookup) the list of analytic functions. The performance argument is not evident, since non-analytical queries are simpler construction from optimizer perspective. A shorter list of physical execution operators implies fewer query transformation rules, and less dramatic combinatorial explosion of the optimizer search space.
    It might even be argued that the syntax could be better. The partition by and order by clauses have similar functionality to the group by and order by clauses in the main query block. Yet one name was reused, and the other had been chosen to have a new name. Unlike other scalar expressions, which can be placed anywhere in SQL query where scalar values are accepted, the analytics clause lives in the scope of the select clause only. I have never been able to suppress an impression that analytic extension could be designed in more natural way.

Maybe you are looking for

  • Error when calling a javascript fonction from asp c# code

    Hi, I have an error when I excute my code below and I do not understand where it is coming from. page ASPX: <asp:Button ID="Bt_refresh" OnClick="Bt_refresh_Click" runat="server" Text="Resfresh" /> page ASP: protected void Bt_refresh_Click(object send

  • Is it possible to run Posture using ISE 1.2 without NAC Agent provisioning?

    Is it possible to run Posture using ISE 1.2 without NAC Agent provisioning? -My customer does not want to push NAC Agent installation on BYOD type of computers (non-managed by the company computers). -The requirement is to check for posture only comp

  • Order to Cash - Sales cycle

    Hi All, I want to know Order to Cash(O2C) cycle.Please explain. -Pallu

  • Hints in Oracle Forms

    HI, I would like to indentify all the forms using some type of index in the sql queries. We are upgrading to 10 database running Oracle applications 11.5.10.2. We are on Linux x86-64. Apprecaite if anybody have any script to do that. Thanks Robert

  • Receiver FCC: Ignore first field

    Hi Experts, Is it possible to ignore only the first field in receiver fcc? Thanks, Vishal