• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need Guidance for Creating Desktop Application  RSS feed

 
Kaustubh Dharme
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I am creating a desktop based application in java and as title mentioned I needed some guidance for that. I tried to create it but I am facing some problems. For creation part I am using Eclipse Luna Version and in that I am using WindowsBuilder plugin and as this was my first time doing project I thought I should check whether am doing this correct way or not. So there are few things I liked to asked which are as follows :-
1. Main_Form named is my main class file which contain menu and below JDesktopPane. And Sub_Form1 & Sub_Form2 are sub class file which are extended by JInternalFrame. I am calling this internal frame class from menu in JDesktopPane by following code : -

and minimize, maximize and close button should not appear for that I did this :-


and this is working correctly just want to know is this correct way or not.

2. Which layout is useful for JPanel and for swing component arrangement ? In every class file, I have used absolute layout. The reason I used this because component arrangement can be done very easily whereas in GridBagLayout it is very complicated.

3. ScrollBar not work. There are few classes, in which some JTextField or JComboBox goes beyond the screen's height , in that case scrollbar should appear by default for scrolling down but it doesn't appear is it because I used Absolute Layout but I have seen it If the layout is BorderLayout or GridBagLayout scrollbar appeared.

4. Restore down problem. Like if we are watching video in maximize state and then suddenly if we click restore down button video's frame size get reduced so does video's. I want to know how to achieve this in java.

This is all, if you didn't understand anything please ask and thank you in advanced.
 
Knute Snortum
Sheriff
Posts: 3556
86
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Kaustubh.

My feeling is that this is too complicated for Beginning Java, so I'm moving it to JavaFX.
 
Kaustubh Dharme
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the late reply and thanks for pointing out to me Knute. So can you help me with this one
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!