You’re mis-interpreting the information given to you. You should avoid using Swing components with AWT components. It’s OK to use Swing with the AWT listener structure, layout managers, etc. and in fact it’s impossible not to.
More Related Contents:
- Swing GUI listeners without AWT
- Explain the code to create a textfield using java [closed]
- Loading resources like images while running project distributed as JAR archive
- Why is it frowned upon to use a null layout in Swing?
- How to get X and Y index of element inside GridLayout?
- Java Event-Dispatching Thread explanation
- SwingUtilities.invokeLater
- Re-paint on translucent frame/panel/component.
- Get Selected Rows in JTable using AbstractTableModel
- Border with rounded corners & transparency
- How to bring a window to the front?
- Java GUI frameworks. What to choose? Swing, SWT, AWT, SwingX, JGoodies, JavaFX, Apache Pivot? [closed]
- error upon assigning Layout: BoxLayout can’t be shared
- How can I scroll more than one object at the same time?
- JTable model listener detects inserted rows too soon (before they are drawn)
- Graphics rendering in title bar
- paintComponent() vs paint() and JPanel vs Canvas in a paintbrush-type GUI
- Choosing a file in-pane with Swing
- Getting RGB value from under mouse cursor
- how to drag and drop files from a directory in java
- Using addMouseListener() and paintComponent() for JPanel
- Attaching A Single Action Listener To All Buttons
- Applet not appearing full
- Centering a JLabel in a JPanel
- Is this the correct way of using Java 2D Graphics API?
- Netbean Java Swing, JPanel/Jlabel Cant cover whole Frame
- Getting a HeadlessException: No X11 DISPLAY variable was set
- Why is paint()/paintComponent() never called?
- How to print a JTable object in the Java application
- Can I add a component to a specific grid cell when a GridLayout is used?