• Kĩ thuật lập trình - Chương 26: Web applications: Part 1Kĩ thuật lập trình - Chương 26: Web applications: Part 1

    Java Studio Creator 2 can automatically import any missing packages your Java file needs. For example, after adding the Properties object to Options.java, you can right click in the Java editor window and select Fix Imports to automatically import java.util.Properties.

    ppt145 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 1195 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 25: Accessing databases with jdbcKĩ thuật lập trình - Chương 25: Accessing databases with jdbc

    Most major database vendors provide their own JDBC database drivers, and many third-party vendors provide JDBC drivers as well. For more information on JDBC drivers, visit the Sun Microsystems JDBC Web site, servlet.java.sun.com/products/ jdbc/drivers.

    ppt144 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 1331 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 24: NetworkingKĩ thuật lập trình - Chương 24: Networking

    By default, applets cannot perform file processing Applets often limited in machine access Applets can communicate only with the machine from which it was originally downloaded Java Security API Digitally signed applets Applets given more privileges if from trusted source

    ppt96 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 1155 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 23: MultithreadingKĩ thuật lập trình - Chương 23: Multithreading

    Even when using a bounded buffer, it is possible that a producer thread could fill the buffer, which would force the producer to wait until a consumer consumed a value to free an element in the buffer. Similarly, if the buffer is empty at any given time, a consumer thread must wait until the producer produces another value. The key to using a bound...

    ppt124 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 1511 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 22: Gui components: Part 2Kĩ thuật lập trình - Chương 22: Gui components: Part 2

    Java applications’ appearances A program that uses Java’s Abstract Window Toolkit GUI components takes on the look-and-feel of the platform Allows users of the application on each platform to use GUI components with which they are already familiar Also introduces interesting portability issues Swing’s lightweight GUI components provide uniform ...

    ppt101 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 1061 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 21: Multimedia: applets and applicationsKĩ thuật lập trình - Chương 21: Multimedia: applets and applications

    Classes Image and ImageIcon – used to load and display images Displaying images Graphics method drawImage – used to draw image referenced by Image object (can be scaled) ImageIcon method paintIcon can be used to draw image referenced by ImageIcon object Loading images Applet method getImage loads an Image into an applet Applet method getDocum...

    ppt40 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 1037 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 19: CollectionsKĩ thuật lập trình - Chương 19: Collections

    Because Stack extends Vector, all public Vector methods can be called on Stack objects, even if the methods do not represent conventional stack operations. For example, Vector method add can be used to insert an element anywhere in a stack—an operation that could “corrupt” the stack. When manipulating a Stack, only methods push and pop should be us...

    ppt108 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 1230 | Lượt tải: 0

  • Kĩ thuật lập trình - Data structuresKĩ thuật lập trình - Data structures

    Queue class that contains a reference to a List Method enqueue calls List method insertAtBack Method dequeue calls List method removeFromFront Method isEmpty calls List method isEmpty Method print calls List method print

    ppt68 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 1151 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 16: Searching and sortingKĩ thuật lập trình - Chương 16: Searching and sorting

    Linear search Searches each element sequentially If search key is not present Tests each element When algorithm reaches end of array, informs user search key is not present If search key is present Test each element until it finds a match

    ppt56 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 1065 | Lượt tải: 0

  • Kĩ thuật lập trình - Chương 15: RecursionKĩ thuật lập trình - Chương 15: Recursion

    Method call stack used to keep track of method calls and local variables within a method call Just as with nonrecursive programming, recursive method calls are placed at the top of the method call stack As recursive method calls return, their activation records are popped off the stack and the previous recursive calls continue executing Current ...

    ppt52 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 1413 | Lượt tải: 0