<< Chapter < Page
  Digital signal processing - dsp     Page 9 / 27
Chapter >> Page >

(The two pages in Figure 5 were manually arranged as shown before capturing the screen shot to emphasize the transition of the data from onepage to the next. The large white rectangles in Figure 5 are the result of removing the background clutter in the image caused by icons on thedesktop.)

Proper locations for awt frame under winxp

These specific values and the locations in the data where they are placed provide visible confirmation that the transitions mentioned above are handledcorrectly by the plotting object. These are the correct locations for an AWT Frame object for Java running under WinXP. Note however that a Frame may have different inset values (border widths) under other operating systems, which may cause these specific locations to fail to match up for that operating system. In that case, thevalues will be plotted but they won't necessarily occur at the same physical locations in order to confirm the proper transition.

(They also match up properly for the Windows 7 Classic scheme, but not for the other Windows 7 themes.)

Information about plotting parameters

Information about the plotting parameters for each plotting object is displayed on the command line screen when this class is used for plotting. Thevalues shown below result from the execution of the main method of the PlotALot01 class for self-test purposes. One of the plotting objects instantiated by the main method is titled "A" and the other is titled "B" .

null

The graphic output produced for the object titled "A" is shown in Figure 5 . This output was based on plotting format parameters that were passed to theconstructor. The graphic output produced for the object titled "B" is shown in Figure 1 . This output was based on default plotting parameters.

Overloaded plotdata method

There are two overloaded versions of the plotData method. One version allows the user to specify the location on the screen where thestack of plotted pages will appear. This version requires two parameters, which are coordinate values in pixels. The first parameter specifies the horizontalcoordinate of the upper left corner of the stack of pages relative to the upper left corner of the screen. The second parameter specifies the verticalcoordinate of the upper left corner of the stack of pages relative to the upper left corner of the screen.

(Specifying coordinate values of 0,0 causes the stack to be located in the upper left corner of the screen. Positive vertical coordinatesprogress down the screen.)

The other overloaded version of plotData places the stack of pages in the upper left corner of the screen by default.

A windowlistener for program termination

Each page has a WindowListener that will terminate the program if the user clicks the close button on the Frame (the X-button in the upper-right corner) .

J2se 5.0 is required

The class was tested using J2SE 5.0 and WinXP. J2SE 5.0 is required because the class uses generics with an ArrayList object. (More recently, it was re-tested using java version "1.8.0_60" under Windows 7.)

Questions & Answers

Ayele, K., 2003. Introductory Economics, 3rd ed., Addis Ababa.
Widad Reply
can you send the book attached ?
Ariel
?
Ariel
What is economics
Widad Reply
the study of how humans make choices under conditions of scarcity
AI-Robot
U(x,y) = (x×y)1/2 find mu of x for y
Desalegn Reply
U(x,y) = (x×y)1/2 find mu of x for y
Desalegn
what is ecnomics
Jan Reply
this is the study of how the society manages it's scarce resources
Belonwu
what is macroeconomic
John Reply
macroeconomic is the branch of economics which studies actions, scale, activities and behaviour of the aggregate economy as a whole.
husaini
etc
husaini
difference between firm and industry
husaini Reply
what's the difference between a firm and an industry
Abdul
firm is the unit which transform inputs to output where as industry contain combination of firms with similar production 😅😅
Abdulraufu
Suppose the demand function that a firm faces shifted from Qd  120 3P to Qd  90  3P and the supply function has shifted from QS  20  2P to QS 10  2P . a) Find the effect of this change on price and quantity. b) Which of the changes in demand and supply is higher?
Toofiq Reply
explain standard reason why economic is a science
innocent Reply
factors influencing supply
Petrus Reply
what is economic.
Milan Reply
scares means__________________ends resources. unlimited
Jan
economics is a science that studies human behaviour as a relationship b/w ends and scares means which have alternative uses
Jan
calculate the profit maximizing for demand and supply
Zarshad Reply
Why qualify 28 supplies
Milan
what are explicit costs
Nomsa Reply
out-of-pocket costs for a firm, for example, payments for wages and salaries, rent, or materials
AI-Robot
concepts of supply in microeconomics
David Reply
economic overview notes
Amahle Reply
identify a demand and a supply curve
Salome Reply
i don't know
Parul
there's a difference
Aryan
Demand curve shows that how supply and others conditions affect on demand of a particular thing and what percent demand increase whith increase of supply of goods
Israr
Hi Sir please how do u calculate Cross elastic demand and income elastic demand?
Abari
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Digital signal processing - dsp. OpenStax CNX. Jan 06, 2016 Download for free at https://legacy.cnx.org/content/col11642/1.38
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Digital signal processing - dsp' conversation and receive update notifications?

Ask