Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

LDAP Swing Client  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm developing a Swing application that can be used to access an LDAP server. The url typed into a text field is to be used to connect to the LDAP server???

Any ideas??

SM
 
Bartender
Posts: 9521
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Scott. How's about taking a few minutes to peruse our FAQ, HowToAskQuestionsOnJavaRanch. I can't tell if you are asking a question about LDAP or Swing.
 
Scott MacDonald
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry!! I realise the post i left is not very clear. What i was needing help with was how do i take the URL that has been typed into the text field and use it to access an LDAP server?
 
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Scott MacDonald:
Sorry!! I realise the post i left is not very clear. What i was needing help with was how do i take the URL that has been typed into the text field and use it to access an LDAP server?



urlString = urlTextField.getText();
accessLDAP(urlString);

where accessLDAP is a method that does all the cool stuff. You'll probably want to look into how to use Threads with Swing because you don't want to do that kind of work on the EDT (Event Dispatching Thread). Scott Delap has a book called Desktop Java Live and Chapter 5 is on Threads in Swing and is the free sample chapter. I'd check that out if I were you.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!