Thursday, November 28, 2019

Justice In Platos Republic Essays (501 words) - Philosophy

Justice In Plato's Republic Justice in Plato's Republic Paper 2 In the Republic, Plato attempts to answer one of philosophy's most central questions: What is justice or right conduct? Thrasymachus, who is upset at Socrates' rhetoric interrupts, suggests that justice is what is in the interest of the stronger. Thrasymachus's view of justice is that justice is the advantage of the stronger. Thrasymachus explains this by expressing that the government makes rules to its own advantage and so it is declared just for their people. Socrates argues Thrasymachus's view by insisting that rulers command certain acts on their subjects which sometimes mistake their own best interest causing themselves harm. Thrasymachus agrees with Socrates that rulers often do act against what is in their own interest and that sometimes the stronger orders the weaker, their subject, to do what is disadvantageous to themselves. Thrasymachus says it is just to obey the orders of the rulers and just is the advantage of the stronger. The more important opinion of justice by Thrasymachus is that justice benefits other people while injustice benefits you. The stronger person uses his/her strength advantage to his/her advantage. Socrates catches Thrasymachus contradicting himself by stating that justice requires doing what is to the stronger advantage. Thrasymachus says that the stronger sometimes makes mistakes and orders something not to his advantage and justice requires subjects to obey stranger. Therefore, justice sometimes requires subjects to do what is not to the stronger's advantage. This statement is a contradiction to Thrasymachus's first remark. Thrasymachus then introduces craft assumption. Socrates believes that true crafts people pursue not their own advantage, but the subjects of their craft and that rulers are considered craftsmen. Socrates concludes that true rulers seek not their own advantage, but their advantage of their subjects. Rulers use their craft to the advantage of their subject and not for their own advantage. Thrasymachus denies that true craftsman seek not their own advantage but, the subjects of their craft by giving example of the shepherds and cowherds. They do not seek the good of their animal instead their sole purpose is fattening them for their own good. The question that is produced is: What makes something the subject of a craft? Two elements make something a subject. First, it needs to be the thing that is practiced on. Sheep are the shepherd's subject because they are being practiced on. The second thing is that the subject is the beneficiary of the craft. In this case, patients are the subjects of the doctor because they are the ones being treated of the illness. The dictionary definition of justice is that it is an abstract principle by which right and wrong are defined or the principle of moral or ideal rightness. This objection creates a major point of controversy that Socrates would like to expose falsehood. One example that Socrates points to is the honor among thieves. The same way that division and self interest pulls apart thieves, injustice will pull apart the soul. Philosophy

Sunday, November 24, 2019

Java Events and How They Work With Event Listeners

Java Events and How They Work With Event Listeners An event in Java is an object that is created when something changes within a graphical user interface. If a user clicks on a button, clicks on a combo box, or types characters into a text field, etc., then an event triggers, creating the relevant event object. This behavior is part of Javas Event Handling mechanism and is included in the Swing GUI library.   For example, lets say we have  a JButton. If a user clicks on  the  JButton,  a  button click event is triggered, the event will be created, and it will be sent to the relevant event listener (in this case, the ActionListener). The relevant listener will have implemented code that determines the action to take when the event occurs.   Note that an event source must be paired with an event listener, or its triggering will result in no action. How Events Work Event handling in Java is comprised of two key elements: The event source, which is an object that is created when an event occurs. Java provides several types of these event sources, discussed in the section Types of Events below.The event listener, the object that listens for events and processes them when they occur. There are several types of events and listeners in Java: each type of event is tied to a corresponding listener. For this discussion, lets consider a common type of event, an action event represented by the Java class ActionEvent, which is triggered when a user clicks a button or the item of a list.   At the users action, an ActionEvent object corresponding to the relevant action is created. This object contains both the event source information and the specific action taken by the user. This event object is then passed to the corresponding ActionListener objects method:   Ã¢â‚¬â€¹void actionPerformed(ActionEvent e) This method is executed and returns the appropriate GUI response, which might be to  open or close a dialog, download a file, provide a digital signature, or any other of the myriad actions available to users in an interface. Types of Events Here are some of the most common types of events in Java: ActionEvent: Represents a graphical element is clicked, such as a button or item in a list. Related listener:  ActionListener.ContainerEvent: Represents an event that occurs to the GUIs container itself, for example, if a user adds or removes an object from the interface.  Related listener:  ContainerListener.KeyEvent: Represents an event in which the user presses, types or releases a key.  Related listener:  KeyListener.WindowEvent: Represents an event relating to a window, for example, when a window is closed, activated or deactivated.  Related listener:  WindowListener.MouseEvent: Represents any event related to a mouse, such as when a mouse is clicked or pressed.  Related listener:  MouseListener. Note that multiple listeners and event sources can interact with one another. For example, multiple events can be registered by a single listener, if they are of the same type. This means that, for a similar set of components that perform the same type of action, one event listener can handle all the events. Similarly, a single event can be bound to multiple listeners, if that suits the programs design (although that is less common).

Thursday, November 21, 2019

Strategic Management Accounting Essay Example | Topics and Well Written Essays - 2250 words - 2

Strategic Management Accounting - Essay Example In this paper the business model of United States Postal Service will be analyzed. USPS is an independent agency of the United States federal government responsible for providing postal service in the United States. The USPS employed 626,764 workers as on January, 2014 and operated 211,654 vehicles in 2013. The USPS is the operator of the largest civilian vehicle fleet in the world. The USPS is legally obligated to serve all Americans, regardless of geography, at uniform price and quality. The USPS has exclusive access to letter boxes marked "U.S. Mail" and personal letterboxes in the United States, but still competes against private package delivery services, such as UPS and has part use with FedEx Express. The paper will explore different constituents of product and capital markets to understand interaction between both the markets. The United States Postal Service is facing the most urgent financial challenge in its history. Protecting the viability of the nation’s postal system is a complex and difficult task that has no simple solution. The Postal Accountability and Enhancement Act of 2006 (hereafter referred to as the Postal Act of 2006) revised the break-even regulatory model of the Postal Reorganization Act of 1970 (PRA) in favor of a profit and loss model. An underlying presumption of the Postal Act of 2006 was that mail volume would continue to grow. However, falling mail volumes due to the recession and electronic diversion, combined with the additional statutory burdens that are discussed in greater detail later in this paper, make it evident that the Postal Service’s existing business model does not provide the flexibility needed to meet the new market realities. The tools available to the Postal Service are insufficient to respond to the combined effects of the economic recession, the diversion of mail to electronic alternatives, and the statutory requirement