TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
tom bom
NA
15
1.4k
Java Swing notepad
Jan 5 2018 6:34 AM
I'm working with Intellij IDEA, Java 9.0.1 and Gradle.
I have a JSplit with a JList on the left and JTabbedPane on the right
After creating some "open" function to import a text file to the program, I want to see the imported file in the following manner:
The filename.extension on the JList (LEFT)
The textual content on the JTabbedPane (RIGHT)
What I've tried:
Created a JList & JTabbedPane, added them to a JSplit.
I have a JFileChooser action listener, when the user opens his file... this is where I'm stuck.
Final Questsion: how to properly add files using JFileChooser in a way they will be added both to JTabbedPane and to JList simultaneously & relatively?
Reply
Answers (
0
)
How do I backup Outlook 2016 for Mac?
How to find out Save & Finish later article in CsharpCorner