Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Swing

0 votes
801 views
1 answer
    I have a login JFrame for my application and i would like to make the corners of the frame rounded by a few ... a JPanel - is this possible? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
404 views
1 answer
    So, I'm developing a program using the Swing library and I obviously have buttons and menu items. Some of ... statically invokable? Thank you. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
664 views
1 answer
    I would appreciate, If anyone here is kind enough to recommend me what are the layout managers to choose ... spacing between the components) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
863 views
1 answer
    I have added the org-jdesktop-layout.jar to my libraries in my netbeans in my project. I found this .jar ... older library... Thanks in advance See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
671 views
1 answer
    I have a class that implements MouseListener (JPanel). When I click on the panel something happens. What I want is ... (MouseEvent arg0) { } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
550 views
1 answer
    I know it's something silly, but for some reason Jython refuses to find javax.swing. I'm using Java 1.6.0_11. ... dir(javax) ['__name__'] >>> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
573 views
1 answer
    I'm writing an application that is intended to be run on a dual monitor setup, with a "Display" JFrame going ... is a simple fix. Is it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
602 views
1 answer
    I could really use a tri-stated checkbox in Java. It sounds like a simple thing, but I've only seen ... a different technique that people use? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
689 views
1 answer
    I am making a basic Java program and I would like to draw a line using basic swing Graphics.drawLine. Is ... or another way that is better? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
588 views
1 answer
    I know it's something silly, but for some reason Jython refuses to find javax.swing. I'm using Java 1.6.0_11. ... dir(javax) ['__name__'] >>> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
664 views
1 answer
    I'm writing an application that is intended to be run on a dual monitor setup, with a "Display" JFrame going ... is a simple fix. Is it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
535 views
1 answer
    I could really use a tri-stated checkbox in Java. It sounds like a simple thing, but I've only seen ... a different technique that people use? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
840 views
1 answer
    I am making a basic Java program and I would like to draw a line using basic swing Graphics.drawLine. Is ... or another way that is better? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
613 views
1 answer
    I can't make the pack() method work. I tried several things. My code looks like this at the moment: Class 1: ... I can't make that work either. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
665 views
1 answer
    I want to create rounded JButton in Java... For that I use rounded image and placed that image on button but I ... .. thanks in advance..... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
570 views
1 answer
    Since Java only supports single inheritance, I desire to paint directly on an instance of a JPanel that is a ... want to inherit from JPanel. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
577 views
1 answer
    I have these progress bars: I'm trying to set the color of the TEXT of the progress bars, without changing the ... to do one without the other? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
759 views
1 answer
    I found some code online, I edited it a bit. I want to hide title bar of a JInternalFrame. JInternalFrame ... hidden for some reason. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
692 views
1 answer
    How to display a JTable in a JPanel with Java? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
739 views
1 answer
    How can I call a method by pressing a JButton? For example: when JButton is pressed hillClimb() is called; I ... to do this? Many thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
522 views
1 answer
    I want to know the column number and row number where the cursor in JTextArea. ie. in notepad when i m at first ... Col 1. thanks in advance... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
861 views
1 answer
    I've experimented and searched and I can't seem to figure out what I thought would be something simple, ... submitPanel, BorderLayout.SOUTH); } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
782 views
1 answer
    I have a code like that: // In MyPanel.java public void paintComponent(Graphics g) { super.paintComponent(g) ... me some suggestions? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
781 views
1 answer
    I have a code like that: // In MyPanel.java public void paintComponent(Graphics g) { super.paintComponent(g) ... me some suggestions? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
667 views
1 answer
    In my application I use a Default button. I want it to react when ENTER Key is released. Not when ENTER Key is ... } } This is the sample code. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I am trying to vertically align (center) both JLabels inside one JPanel. JPanel panel = new JPanel(); panel. ... the middle of the JPanel. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
567 views
1 answer
    Is there a set of default action icons available in the Swing application framework? For instance, instead of making ... of the native system. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
580 views
1 answer
    I'm trying to get the content of console in a textArea in java. For example if we have this code, class ... actionPerformed do I have to choose? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...