Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

LDAP Swing Client  RSS feed

 
Scott MacDonald
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
 
Joe Ess
Bartender
Posts: 9406
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?
 
Gregg Bolinger
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!