To create a jframe named aframe that is 300 pixels wide by 200 pixels tall, you can
Question:
To create a jframe named aframe that is 300 pixels wide by 200 pixels tall, you can ____________.
A. Use the declaration jframe aframe = new jframe(300, 200);
b. Declare a jframe named aframe and then code aframe.setsize(300, 200);
c. Declare a jframe named aframe and then code aframe.setbounds(300, 200);
d. Use any of the above
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 83% (6 reviews)
d Us...View the full answer
Answered By
Aysha Ali
my name is ayesha ali. i have done my matriculation in science topics with a+ . then i got admission in the field of computer science and technology in punjab college, lahore. i have passed my final examination of college with a+ also. after that, i got admission in the biggest university of pakistan which is university of the punjab. i am studying business and information technology in my university. i always stand first in my class. i am very brilliant client. my experts always appreciate my work. my projects are very popular in my university because i always complete my work with extreme devotion. i have a great knowledge about all major science topics. science topics always remain my favorite topics. i am also a home expert. i teach many clients at my home ranging from pre-school level to university level. my clients always show excellent result. i am expert in writing essays, reports, speeches, researches and all type of projects. i also have a vast knowledge about business, marketing, cost accounting and finance. i am also expert in making presentations on powerpoint and microsoft word. if you need any sort of help in any topic, please dont hesitate to consult with me. i will provide you the best work at a very reasonable price. i am quality oriented and i have 5 year experience in the following field.
matriculation in science topics; inter in computer science; bachelors in business and information technology
_embed src=http://www.clocklink.com/clocks/0018-orange.swf?timezone=usa_albany& width=200 height=200 wmode=transparent type=application/x-shockwave-flash_
4.40+
11+ Reviews
14+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Suppose that you create an application in which you instantiate a JFrame named frame1 and a JLabel named label1. Which of the following statements within the application adds label1 to frame1? a....
-
A bitmap terminal contains 1600 by 1200 pixels. To scroll a window, the CPU (or controller) must move all the lines of text upward by copying their bits from one part of the video RAM to another. If...
-
a. Create an interface named Turner, with a single method named turn(). Create a class named Leaf that implements turn() to display Changing colors. Create a class named Page that implements turn()...
-
A 2-kg picture is hung by two wires of equal length. Each makes an angle of ? with the horizontal, as shown in Figure. (a) Find the general equation for the tension T, given ? and weight w for the...
-
Allison and Paul are married and have no children. Paul is a lawyer who earns a salary of $80,000. In November 2015, Allison quit her job as a copy editor and began exploring the possibility of...
-
a. A 500 W kettle contains 300 g of water at 20 C. Calculate the minimum time it would take to raise the temperature of the water to boiling point. b. The kettle is allowed to boil for 2 minutes....
-
A hydroprocessing reactor, an asset used in petroleum refining, is placed into service at a cost of $2.7 million. It is thought to have a useful life, with turnarounds and proper maintenance, of 18...
-
Burte Corporation prepared the following variance report. Instructions Fill in the appropriate amounts or letters for the question marks in thereport. Burte Corporation Variance Report-Purchasing...
-
You can only invest in two securities: A and X. The correlation between the returns of A and X is 0.2. Expected returns and standard deviations are as follows: Security E[R] A X o(R) 20% 20% 15% 25%...
-
Using the data in Table 1, explain how you would use appropriate methods of analysis such as regression analysis or correlation analysis to analyze the effect of order size and product variety on the...
-
The statement jframe myframe = new jframe(); creates a jframe that is ____________. A. Invisible and has a title B. Invisible and has no title C. Visible and has a title D. Visible and has no title
-
When a user closes a jframe, the default behavior is for ____________. A. The jframe to close and the application to keep running b. The jframe to be hidden and the application to keep running c. The...
-
Consider the following transactions of Pearl Software: Mar 31 Recorded cash sales of $180,000, plus sales tax of 8% collected for the state of Texas. Apr 6 Sent March sales tax to the state....
-
Based on the following information, calculate the expected return and standard deviation for each of the following equities. What are the covariance and correlation between the returns of the two...
-
The expected rates of return on the French firms, Publicis and Renault, the market portfolio (CAC 40) and the risk-free asset are given below, along with the standard deviations of these returns. (a)...
-
Below is given the standard deviation and correlation information on three South African companies, Afgri, Harmony Gold and SABMiller. (a) If a portfolio is made up of 30 per cent of Afgri, 40 per...
-
Consider the following information about I and II: The market risk premium is 10 per cent, and the risk-free rate is 4 per cent. Which security has the most systematic risk? Which one has the most...
-
Suppose you observe the following situation: (a) Calculate the expected return on each equity. (b) Assuming the capital asset pricing model holds and As beta is greater than Bs beta by 0.25, what is...
-
Write a short "employee Code of Conduct".
-
The cost curve for the city water supply is C(Q) = 16 + 1/4 Q2, where Q is the amount of water supplied and C(Q) is the cost of providing Q acre-feet of water. (An acre-foot is the amount of water...
-
Write a program that prompts the user to enter two strings and reports whether the second string is a substring of the first string. Enter string sl: ABCD Enter string s2: BC substring of ABCD -...
-
Write a program that prompts the user to enter a Social Security number in the format DDD-DD-DDDD, where D is a digit. Your program should check whether the input is valid. Here are sample runs:...
-
Write a program that prompts the user to enter a string and displays its length and its first character.
-
The bonds of Venture Ltd . has 8 years remaining to maturity. Its annual coupon rate is 6 % with a face value of $ 1 , 0 0 0 . The prevailing market interest rate is 8 % . The interest is paid semi -...
-
Convert the following C functions into ARMv8 assembly language. Again, comment each line of assembly code on what it does. Note that local variables should be kept in function's stack frame. 1)...
-
What are the four main types of financial services?Which type of financial services will help you accomplish your short, intermediate, and long-term goals?For example, I use savings financial...
Study smarter with the SolutionInn App