Click here to Skip to main content
14,921,505 members
Home / Discussions / Java
   

Java

 
QuestionJava Derby Database Pin
Gregory Guy30-Jul-19 20:16
MemberGregory Guy30-Jul-19 20:16 
AnswerRe: Java Derby Database Pin
Richard MacCutchan30-Jul-19 21:16
mveRichard MacCutchan30-Jul-19 21:16 
AnswerRe: Java Derby Database Pin
Wishe199129-Sep-19 23:28
MemberWishe199129-Sep-19 23:28 
QuestionAnnotation Processing - Generating Files at Each Round vs at Last Round Pin
Abbas A. Ali3-Jul-19 19:44
professionalAbbas A. Ali3-Jul-19 19:44 
QuestionBasic Calculator Write a program that works as a simple calculator. 1.It reads a character (ch) 2.If ch is among '+', '-', '*', '/' or '%' it furthur takes two numbers (N1 and N2 as input). It then performs appropriate appropriate operation between n Pin
Member 1450000613-Jun-19 22:55
MemberMember 1450000613-Jun-19 22:55 
AnswerRe: Basic Calculator Write a program that works as a simple calculator. 1.It reads a character (ch) 2.If ch is among '+', '-', '*', '/' or '%' it furthur takes two numbers (N1 and N2 as input). It then performs appropriate appropriate operation betwe Pin
Richard Deeming14-Jun-19 0:55
mveRichard Deeming14-Jun-19 0:55 
AnswerRe: Basic Calculator Write a program that works as a simple calculator. 1.It reads a character (ch) 2.If ch is among '+', '-', '*', '/' or '%' it furthur takes two numbers (N1 and N2 as input). It then performs appropriate appropriate operation betwe Pin
Richard MacCutchan14-Jun-19 1:06
mveRichard MacCutchan14-Jun-19 1:06 
QuestionFailed to grab focus on a Jtextfield Pin
User 1409759122-May-19 4:06
MemberUser 1409759122-May-19 4:06 
hey guys i have this code
table.getModel().addTableModelListener(new TableModelListener() {

        	  public void tableChanged(TableModelEvent e) {
        		  if (e.getType() == TableModelEvent.UPDATE)
        	        {
        	           //int row = e.getFirstRow();
        	            int column = e.getColumn();

        	            if (column == 2 )
        	            {
        	                //TableModel model = table.getModel();
        	            	
        	                pricetext.setText(Integer.toString(calculatesum()));
        	                
        	            }
        	          
        	        }
                        textsearch.grabFocus();
        	        textsearch.requestFocus();
        		  
        	  }
        	  
        	  
        	});


both focus methods arent working and i dont know why , thanks for help
SuggestionRe: Failed to grab focus on a Jtextfield Pin
Richard MacCutchan22-May-19 21:32
mveRichard MacCutchan22-May-19 21:32 
GeneralRe: Failed to grab focus on a Jtextfield Pin
User 1409759123-May-19 1:07
MemberUser 1409759123-May-19 1:07 
GeneralRe: Failed to grab focus on a Jtextfield Pin
Richard MacCutchan23-May-19 1:44
mveRichard MacCutchan23-May-19 1:44 
GeneralRe: Failed to grab focus on a Jtextfield Pin
Teressa Pirtle26-Dec-19 8:05
MemberTeressa Pirtle26-Dec-19 8:05 
Questioncloudsim algorithm Genitic Pin
Member 1423906220-May-19 8:20
MemberMember 1423906220-May-19 8:20 
AnswerRe: cloudsim algorithm Genitic Pin
Richard MacCutchan20-May-19 22:09
mveRichard MacCutchan20-May-19 22:09 
QuestionHow can i make Jtexfield updates when Jtable values are changed? Pin
User 140975918-May-19 2:36
MemberUser 140975918-May-19 2:36 
AnswerRe: How can i make Jtexfield updates when Jtable values are changed? Pin
Richard MacCutchan8-May-19 2:48
mveRichard MacCutchan8-May-19 2:48 
GeneralRe: How can i make Jtexfield updates when Jtable values are changed? Pin
User 140975918-May-19 3:02
MemberUser 140975918-May-19 3:02 
GeneralRe: How can i make Jtexfield updates when Jtable values are changed? Pin
Richard MacCutchan8-May-19 3:19
mveRichard MacCutchan8-May-19 3:19 
Questionprogramation cloudsim java Pin
Member 142390627-May-19 0:06
MemberMember 142390627-May-19 0:06 
AnswerRe: programation cloudsim java Pin
Eddy Vluggen7-May-19 0:32
professionalEddy Vluggen7-May-19 0:32 
GeneralRe: programation cloudsim java Pin
jschell18-May-19 7:01
Memberjschell18-May-19 7:01 
QuestionRe: programation cloudsim java Pin
Eddy Vluggen18-May-19 8:29
professionalEddy Vluggen18-May-19 8:29 
AnswerRe: programation cloudsim java Pin
Richard MacCutchan18-May-19 20:56
mveRichard MacCutchan18-May-19 20:56 
GeneralRe: programation cloudsim java Pin
Eddy Vluggen18-May-19 22:42
professionalEddy Vluggen18-May-19 22:42 
GeneralRe: programation cloudsim java Pin
Richard MacCutchan19-May-19 1:05
mveRichard MacCutchan19-May-19 1:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.