Pages

Friday, 20 May 2016

Today My Start to Develop a Text Editor

Hello EveryOne..
 
  Today I am starting to develop a simple TextEditor Application using Java.So I am starting this with a small Plan.




The Basic UI will be like ....


1) MenuBar

   MenuBarItems --
 
        i) File
 
             1)New             --- Open a New Tab
             2)Open           --- Open a File and display data in selected Tab
             3)Save            ---  Save the Data of current tab as a document
             4)Save As       --- Save current file as a new file by giving a new name to it
             5)Exit             --- Exit out of the Apllication
     
        ii)Edit
         
              1)Font           ---Choose a  Font to Style (Open a dialog of choosing the font style)
           
      iii) Run
   
            1) Run       --- If the files are special type of files(.html,.php) then Run in browser
            2)Configure Server --- Configure the Server IP and Port to run .php
 
      iv)About Us
         
             1)About Us -- A small Description about Developer and our Website



2) Editor to Edit and Write Text

   i)We take Tabbed Pane first and induce a TextArea
   ii)Then we start to code for developing the New Tabs and Open and Close Tabs
   iii)Each tab where a file is Opened will have the Title as the Filename
  iv) We make a popup come when a tab is hovered and display the whole Path of file as Popup
  v)We make changes to the current text styles by changing the Font Style and color and Size



3)Adding Listeners 

   i)We add a stateChangeListener to TabbedPane which tells us about which tab is selected
   ii) We get Title of each tab as it is subjected to change and if the file is .html or .php we enable RUN option in MenuOption of MenuItem Run else we disable it.
  iii) Add actionListeners when each of the items of menu are selected



Dialogs :

 a)Font option in Edit menu
      i) Add a Dialog to the existing class and add Options like Font Style font color and font Size.
     ii)Store this data into Static variables for state Retention

b)About us option in About Us Menu
     i)Add a Dialog to show all the details of the Developer and Make it visible as the About us is clicked

Note :
 i)When a dialog is opened make sure that the Main Window is set to Non- Editable which lets the user only run and use the Main Window after closing the present dialog box
ii)Make sure that after closing dialog the Main Window should be focused first and it should be altered as Editable.




So These are the basic Steps I am following to make my new TextEditor application. Hope you all get well about I said.If any doubt please feel free to comment under the Comment Section.As the development will get completed Product would be posted here with explanation of classes.


Thank You....


Find The Completed Project post here...

Back with Output of TextEditor

6 comments:

  1. Good keep it up pavan....We want java basics. Can u arrange that

    ReplyDelete
    Replies
    1. Java Basics.... I would help you come know how actually it works when I release my application.From there You will be easily able to understand.
      If you want total understanding of each and every class try out Java Documentation by Oracle

      Click on Below Link...

      Java Documentation

      Delete
  2. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates. บริษัททำ SEO

    ReplyDelete
  3. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates. ทาวน์โฮม ระยอง

    ReplyDelete
  4. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates. chinese restaurants near me

    ReplyDelete
  5. Harrah's Casino & Racetrack - Mapyro
    The 광양 출장안마 Harrah's Reno is owned and operated 경상남도 출장마사지 by the Eastern Band of the 광양 출장안마 Cherokee Nation. The casino 통영 출장마사지 features 제주 출장안마 over 7,000 slot machines, live entertainment,

    ReplyDelete