• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

how can i do that ?

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi! all,
i hope that some of u are aware of the way some IDE works with intelligent typing feature. For example you type some object, and IDE automatically shows all it's methods/properties in a list from which u can select anyone.
i want to implement this same feature in the editor for java, which i am making. Means i want to place item list on existing text area.
how can i do that ?
regds
prateek
 
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Prateek,
You can use a popup menu to perform that. I have not done it however ...
Good Luck,
Manfred
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You would also need to use the Reflection abilities of Java. Whatever word the cursor is right beside when you type '.', you would need to introspect this class and find out what it's methods and fields are.. so you'd know what to put in your popup menu.
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi prateek,
U can use JDeveloper from Oracle corporation or JBuilder to get ur project work. I know u were asking about the MS Visual studio kind of thing. so u can use Jdeveloper , it's good and i like it very much.
bye for now
Rajesh Purohit
INDIA
------------------------------------------------
visit me at www.geocities.com/rajesh_purohit
 
The only taste of success some people get is to take a bite out of you. Or this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic