Questions tagged as 'java'

1
answer

How can I tunnel tcp with java?

The idea is this: Create a classe that keeps an eye on the eventos of socket client and when it receives data to classe it redirects to the client that is connected in app. how to do this in java?     
asked by 09.12.2014 / 05:16
0
answers

TextField Null in JavaFX

I'm learning to develop in JavaFX. I would like to be able to select an item in a tableView, when you click a button, it opens a window with the details of the previously selected item. However I am facing the following error: The textField is n...
asked by 07.12.2014 / 17:10
0
answers

Error when trying to trigger Facebook Share in android SDK

I'm developing an android application where the person can log in via Facebook. I'm trying to develop the "share" option so that an application message can be posted on the user's timeline, but I'm encountering the following error: Session:...
asked by 07.07.2014 / 19:06
2
answers

Two Android ProgressDialog one after another

How do I display two progress Dialog, when one finishes, open the other? In my case the user clicks on a button, then several files in one folder are moved and renamed to another folder, it first sends everything, then renames it. So I would...
asked by 07.07.2014 / 09:14
1
answer

Get item data in ListView

I'm developing a college project that consists of a schedule that works with SQLite database. It may sound trivial, but the way I'm doing it makes things a bit more complex. When I click on a list item, the user is directed to another activit...
asked by 10.06.2014 / 01:12
1
answer

Eclipse WindowBuilder Pro - Export Project [duplicate]

I'm having a hard time exporting my project with icons. 1st Export - > "Runnable jar file" 2º I mark the first option. 3. When I run on Linux or on a machine other than mine the icons are not displayed at all. One of the label looks...
asked by 09.06.2014 / 01:38
0
answers

Print selected nodes from a JTree

I have this JTree: IhavethiscodethatreturnsallnodesofJTree:publicvoidprint(){recurse((TreeNode)jTree2.getModel().getRoot());}publicvoidrecurse(TreeNodetheNode){System.out.println("1-- " + theNode); for (Enumeration theChildren = theNo...
asked by 12.12.2014 / 13:31
2
answers

How to use a Rails cron job to run a program in Java?

Is it possible to use a cron job in Rails to execute a command that executes a class in Java? If so how?     
asked by 18.06.2014 / 19:11
0
answers

Access to checkbox of each node of a JTree

How can I access the checkbox for each node of a JTree ? TreePath[] checkedPaths = checkTreeManager.getSelectionModel().getSelectionPaths(); The preceding code returns me all the selected paths. When I get back to my JTree afte...
asked by 17.12.2014 / 13:29
1
answer

Starting android app with side Drawer Menu always open

It's a simple question, but how can I solve this problem? Every time I start the application it has that drop down menu always open. public class NavigationDrawerFragment extends Fragment { /** * Remember the position of the selected item....
asked by 17.12.2014 / 12:39